Changed "make clean" to not delete crypt.lof (which is checked into git)
This line: rm -f `find . -type f | grep "[.]lo" | xargs` was deleting crypt.lof, which seemed undesirable. One solution would be to end the grep expression with "$", but it seemed more straightforward just to pass "-name" to "find", rather than piping through grep.
This commit is contained in:
parent
d61c537a2a
commit
4a2b54a446
26
makefile
26
makefile
@ -329,19 +329,19 @@ profile:
|
|||||||
#This rule cleans the source tree of all compiled code, not including the pdf
|
#This rule cleans the source tree of all compiled code, not including the pdf
|
||||||
#documentation.
|
#documentation.
|
||||||
clean:
|
clean:
|
||||||
rm -f `find . -type f | grep "[.]o" | xargs`
|
rm -f `find . -type f -name "*.o" | xargs`
|
||||||
rm -f `find . -type f | grep "[.]lo" | xargs`
|
rm -f `find . -type f -name "*.lo" | xargs`
|
||||||
rm -f `find . -type f | grep "[.]a" | xargs`
|
rm -f `find . -type f -name "*.a" | xargs`
|
||||||
rm -f `find . -type f | grep "[.]la" | xargs`
|
rm -f `find . -type f -name "*.la" | xargs`
|
||||||
rm -f `find . -type f | grep "[.]obj" | xargs`
|
rm -f `find . -type f -name "*.obj" | xargs`
|
||||||
rm -f `find . -type f | grep "[.]lib" | xargs`
|
rm -f `find . -type f -name "*.lib" | xargs`
|
||||||
rm -f `find . -type f | grep "[.]exe" | xargs`
|
rm -f `find . -type f -name "*.exe" | xargs`
|
||||||
rm -f `find . -type f | grep "[.]gcda" | xargs`
|
rm -f `find . -type f -name "*.gcda" | xargs`
|
||||||
rm -f `find . -type f | grep "[.]gcno" | xargs`
|
rm -f `find . -type f -name "*.gcno" | xargs`
|
||||||
rm -f `find . -type f | grep "[.]il" | xargs`
|
rm -f `find . -type f -name "*.il" | xargs`
|
||||||
rm -f `find . -type f | grep "[.]dyn" | xargs`
|
rm -f `find . -type f -name "*.dyn" | xargs`
|
||||||
rm -f `find . -type f | grep "[.]dpi" | xargs`
|
rm -f `find . -type f -name "*.dpi" | xargs`
|
||||||
rm -rf `find . -type d | grep "[.]libs" | xargs`
|
rm -rf `find . -type d -name "*.libs" | xargs`
|
||||||
rm -f crypt.aux crypt.dvi crypt.idx crypt.ilg crypt.ind crypt.log crypt.toc
|
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 -f $(TV) $(PROF) $(SMALL) $(CRYPT) $(HASHSUM) $(MULTI) $(TIMING) $(TEST)
|
||||||
rm -rf doc/doxygen
|
rm -rf doc/doxygen
|
||||||
|
Loading…
Reference in New Issue
Block a user