diff options
author | Karl Berry <karl@freefriends.org> | 2012-07-26 22:41:42 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-07-26 22:41:42 +0000 |
commit | 12a9c88c506d20248c694bab2edf0ad4c13c0e02 (patch) | |
tree | ea953ea88b6b104a14771a3cfe49071c1f803d08 /Master/texmf-dist/source/latex/poetrytex/Makefile | |
parent | 189cdee7beb21ea6634aa3e2844ca3d27bb2e3e1 (diff) |
poetrytex (26jul12)
git-svn-id: svn://tug.org/texlive/trunk@27174 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/poetrytex/Makefile')
-rw-r--r-- | Master/texmf-dist/source/latex/poetrytex/Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/Master/texmf-dist/source/latex/poetrytex/Makefile b/Master/texmf-dist/source/latex/poetrytex/Makefile index 57b2ebeabf6..9731417220c 100644 --- a/Master/texmf-dist/source/latex/poetrytex/Makefile +++ b/Master/texmf-dist/source/latex/poetrytex/Makefile @@ -36,7 +36,7 @@ REDIRECT = > /dev/null # Files grouped by generation mode COMPILED = $(DOC) UNPACKED = poetrytex.sty -SOURCE = $(DTX) Makefile README.md +SOURCE = $(DTX) Makefile README GENERATED = $(COMPILED) $(UNPACKED) CTAN_FILES = $(SOURCE) $(COMPILED) @@ -44,7 +44,7 @@ CTAN_FILES = $(SOURCE) $(COMPILED) UNPACKED_DOC = RUNFILES = $(filter-out $(UNPACKED_DOC), $(UNPACKED)) -DOCFILES = $(COMPILED) README.md $(UNPACKED_DOC) +DOCFILES = $(COMPILED) README $(UNPACKED_DOC) SRCFILES = $(DTX) Makefile ALL_FILES = $(RUNFILES) $(DOCFILES) $(SRCFILES) @@ -98,7 +98,11 @@ $(UNPACKED): $(DTX) $(CTAN_ZIP): $(CTAN_FILES) $(TDS_ZIP) @echo "Making $@ for CTAN upload." @$(RM) -- $@ - @zip -9 $@ $^ >/dev/null + @mkdir -p $(NAME)/ + @cp $^ $(NAME)/ + @rm $(NAME)/*.zip + @zip -9 $@ $(NAME)/* $(NAME).tds.zip >/dev/null + @rm -rf $(NAME)/ define run-install @mkdir -p $(RUNDIR) && cp $(RUNFILES) $(RUNDIR) @@ -148,7 +152,7 @@ manifest: @for f in $(GENERATED); do echo $$f; done clean: - @$(RM) -- *.log *.aux *.toc *.idx *.ind *.ilg *.glo *.gls *.example *.out *.synctex* *.tmp poetrytex-style.sty *.ins poetrytex*.pdf poetrytex*.dvi + @$(RM) -- *.log *.aux *.toc *.idx *.ind *.ilg *.glo *.gls *.example *.out *.synctex* *.tmp poetrytex-style.sty *.ins poetrytex*.pdf poetrytex*.dvi README *.lot @$(RM) -- $(GENERATED) $(ZIPS) @$(RM) -- $(builddir)/* |