Skip to content
This repository has been archived by the owner on Jul 19, 2021. It is now read-only.

Commit

Permalink
Makefile: add clean
Browse files Browse the repository at this point in the history
  • Loading branch information
aminophen committed Jan 27, 2016
1 parent f6ced1f commit ce0d9ad
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,14 @@ $(DOCDIR)/pldoc.pdf: $(addprefix $(SRCDIR)/,$(DOC_SRC))
cd $(SRCDIR); $(MAKE) pldoc.pdf
mv $(SRCDIR)/pldoc.pdf $(DOCDIR)
mv $(SRCDIR)/jltxdoc.cls $(TEXDIR)

.PHONY: clean
clean:
for x in $(addprefix $(TEXDIR)/,$(PLFMT)) \
$(addprefix $(TEXDIR)/,$(PLCLS)) \
$(addprefix $(TEXDIR)/,$(PL209)) \
$(addprefix $(TEXDIR)/,$(NIDAN)) \
$(DOCDIR)/platex.pdf $(DOCDIR)/pldoc.pdf \
$(TEXDIR)/jltxdoc.cls $(SRCDIR)/pldoc.tex $(SRCDIR)/Xins.ins; do \
if [ -e $$x ]; then rm $$x; fi \
done

0 comments on commit ce0d9ad

Please sign in to comment.