]> git.sur5r.net Git - i3/i3/commitdiff
docs/makefile: correctly make 'clean'
authorMichael Stapelberg <michael@stapelberg.de>
Sun, 24 Jul 2011 20:43:50 +0000 (22:43 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Sun, 24 Jul 2011 20:43:50 +0000 (22:43 +0200)
docs/Makefile

index e49d58ee11843d94ca5929a8fd217daa863656db..90abed28aff3a4f11c4f8318205d54b1ec1f8757 100644 (file)
@@ -27,5 +27,4 @@ refcard.pdf: refcard.tex
        pdflatex refcard.tex && pdflatex refcard.tex
 
 clean:
-       rm -f */*.{aux,log,toc,bm,pdf,dvi}
-       rm -f *.log *.html
+       find . -regex ".*\.\(aux\|out\|log\|toc\|bm\|pdf\|dvi\|log\|html\)" -exec rm '{}' \;