From 7fb0b1a8e16e92ea0e3927c6caac74671527a21b Mon Sep 17 00:00:00 2001 From: Michael Kohlhase Date: Thu, 15 Jan 2015 14:37:06 +0100 Subject: [PATCH] draining just to be sure for CTAN distribution --- lib/Makefile.ctan | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/Makefile.ctan b/lib/Makefile.ctan index 74ac9d1..d0dacd9 100644 --- a/lib/Makefile.ctan +++ b/lib/Makefile.ctan @@ -16,8 +16,9 @@ ctan: all filedate checksum git push rm -Rf $(EXPORTED) @echo "exporting a clean copy to $(EXPORTED)" -# cd /tmp; git clone $(GITURI); mv LaTeX-proposal $(TDSCOLL) - cd $(EXPORTED); rm -Rf .git; rm .gitignore + cd /tmp; git clone $(GITURI); mv LaTeX-proposal $(TDSCOLL) + rm -Rf $(EXPORTED)/.git + rm $(EXPORTED)/.gitignore cd $(EXPORTED); $(MAKE) -$(MAKEFLAGS) ctanext @echo "zipping the result to $(TDSCOLL).ctan.zip" cd $(CTANDIR); zip -r -q $(CTANZIP) .; cd -; cp $(CTANZIP) . @@ -32,7 +33,7 @@ ctanext: tdsext cp $(TDSZIP) $(CTANDIR) @for d in $(DTXDIRS); do (cd $$d && $(MAKE) -$(MAKEFLAGS) lctan) done @for d in $(SRCDIRS) $(DOCDIRS); do (cp -R $$d $(CTANDIR)) done; - cp $(TDSZIP) README Makefile $(CTANDIR) + cp $(TDSZIP) $(TDS.doc) Makefile $(CTANDIR) rm -Rf $(TDSZIP) # this target makes the file TDSZIP by creating and populating the directory