[PATCH] remove PDF files when cleaning

Luca Capello luca at pca.it
Tue Mar 23 13:08:25 UTC 2010


Hi there!

Please Cc: me, I'm not subscribed to the list.

`make clean`, once will have been fixed for the bashisms and config.tex
cleaning (see my previous posts [1][2]), does not remove PDF files:
=====
luca at gismo:~/src/OpenExpo_Bern_debian.ch_flyers/general$ make \
 all.pdf flyer.pdf
[...]

luca at gismo:~/src/OpenExpo_Bern_debian.ch_flyers/general$ make clean
[...]

luca at gismo:~/src/OpenExpo_Bern_debian.ch_flyers/general$ cvs diff --brief
? all.pdf
? flyer.pdf
cvs diff: Diffing .
Index: Makefile
===================================================================
RCS file: /cvsroot/debian-flyers/general/Makefile,v
retrieving revision 1.18
diff --brief -r1.18 Makefile
Files /tmp/cvswmmgIf and Makefile differ
cvs diff: Diffing sponsors

luca at gismo:~/src/OpenExpo_Bern_debian.ch_flyers/general$
=====

The solution is quite trivial, on top of my previous patches:

--8<---------------cut here---------------start------------->8---
--- Makefile.config-tex	2010-03-23 13:34:19.000000000 +0100
+++ Makefile	2010-03-23 14:03:10.000000000 +0100
@@ -121,11 +121,11 @@
 	scp $? alioth.debian.org:/org/alioth.debian.org/chroot/ftproot/pub/debian-flyers/
 
 clean:
-	-for I in ps eps dvi aux log jpg; do \
+	-for I in ps pdf eps dvi aux log jpg; do \
 		rm -f $(base)."$$I"; \
 		rm -f all."$$I"; \
 	done
-	-rm -f $(base)-*.ps *~
+	-rm -f $(base)-*.ps $(base)-*.pdf *~
 	-rm -f config.tex
 
 ChangeLog: NEWS
--8<---------------cut here---------------end--------------->8---

Thx, bye,
Gismo / Luca

Footnotes: 
[1] http://lists.alioth.debian.org/pipermail/debian-flyers-devel/2010-March/000296.html
[2] http://lists.alioth.debian.org/pipermail/debian-flyers-devel/2010-March/000297.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-flyers-devel/attachments/20100323/386191eb/attachment.pgp>


More information about the debian-flyers-devel mailing list