Skip to content

Commit

Permalink
Merge pull request openshmem-org#381 from BryantLam/makefile-clean
Browse files Browse the repository at this point in the history
Fix `make clean`
  • Loading branch information
jdinan authored Mar 12, 2020
2 parents ee7e8b4 + baecb64 commit fcedc02
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 13 deletions.
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
chappage.txt
main_spec.aux
main_spec.idx
main_spec.ilg
Expand All @@ -7,5 +6,4 @@ main_spec.log
main_spec.out
main_spec.pdf
main_spec.toc
*.log
*~
*~
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ ${TARGET}.pdf: ${SOURCES} ${FIGURES} ${EXAMPLES}
makeindex ${TARGET}
pdflatex $(LATEXOPT) ${TARGET}

RM ?= rm -f
CLEAN_EXTENSIONS = aux idx ilg ind log out pdf toc
.PHONY: clean
clean:
rm -f ${TARGET}.{log,aux,ps,dvi,bbl,blg,log,idx,ind,ilg,out,toc,pdf,out} chappage.txt

for e in ${CLEAN_EXTENSIONS}; do $(RM) ${TARGET}.$$e; done
8 changes: 0 additions & 8 deletions content/chappage.txt

This file was deleted.

0 comments on commit fcedc02

Please sign in to comment.