From 12a9c88c506d20248c694bab2edf0ad4c13c0e02 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 26 Jul 2012 22:41:42 +0000 Subject: poetrytex (26jul12) git-svn-id: svn://tug.org/texlive/trunk@27174 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/latex/poetrytex/Makefile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'Master/texmf-dist/source/latex/poetrytex/Makefile') 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)/* -- cgit v1.2.3