Skip to content

Commit

Permalink
Makefile: moving target "search" above "clean"
Browse files Browse the repository at this point in the history
  • Loading branch information
fmilthaler committed Jun 28, 2019
1 parent 4e341c8 commit d25b472
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -112,15 +112,14 @@ texcount:
@echo "and pdftops ... ps2ascii: "
pdftops ${THESIS}.pdf; ps2ascii ${THESIS}.ps | wc -w

search:
@echo "searching all texfiles for $(SEARCH):"
@find . -name "*.tex" | xargs grep -i --color=auto $(SEARCH)

clean:
@-rm *.aux *.log *.blg *.bbl *.lof *.lot *.toc *.out *nls *ilg *.nlo *nlo-old

allclean: clean $(CLEANDIRS)
$(CLEANDIRS):
@echo "cleaning directory $(@:clean-%=%):"
@$(MAKE) -C $(@:clean-%=%) allclean

search:
@echo "searching all texfiles for $(SEARCH):"
@find . -name "*.tex" | xargs grep -i --color=auto $(SEARCH)

0 comments on commit d25b472

Please sign in to comment.