Browse Source

don't delete doc/crypt.pdf in "make clean"

"make clean" was deleting "doc/*.pdf", despite the fact that there
were two comments (one above and one below) stating that it did not.

Since doc/crypt.pdf is checked into git, running "make clean" made my
git state dirty, which seems undesirable.

I took sort of a compromise position and had "make clean" continue to
delete any other .pdf files in doc (such as refman.pdf), but
explicitly not delete crypt.pdf.
Patrick Pelletier 14 years ago
parent
commit
9228cbbd1e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      makefile

+ 1 - 1
makefile

@@ -345,7 +345,7 @@ clean:
 	rm -f crypt.aux  crypt.dvi  crypt.idx  crypt.ilg  crypt.ind  crypt.log crypt.toc
 	rm -f $(TV) $(PROF) $(SMALL) $(CRYPT) $(HASHSUM) $(MULTI) $(TIMING) $(TEST)
 	rm -rf doc/doxygen
-	rm -f doc/*.pdf
+	rm -f `find . -type f -name "*.pdf" | grep -FL crypt.pdf | xargs`
 	rm -f *.txt
 
 #build the doxy files (requires Doxygen, tetex and patience)