From e3b27cc3946537252e0333bd0d571e9201e3084c Mon Sep 17 00:00:00 2001 From: Michael Kohlhase Date: Fri, 16 Jan 2015 09:34:15 +0100 Subject: [PATCH] draining just to be sure for CTAN distribution --- lib/Makefile.ctan | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/lib/Makefile.ctan b/lib/Makefile.ctan index 46f4e99..530b49b 100644 --- a/lib/Makefile.ctan +++ b/lib/Makefile.ctan @@ -1,4 +1,5 @@ # make a zip for CTAN submission including the TeX directory structure +HERE = $(shell pwd) TMP = /tmp TDSCOLL = proposal EXPORTED = $(TMP)/$(TDSCOLL).exp @@ -17,13 +18,13 @@ 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 /tmp; git clone $(HERE); mv LaTeX-proposal $(EXPORTED) rm -Rf $(EXPORTED)/.git - rm $(EXPORTED)/.gitignore - cd $(EXPORTED); $(MAKE) -$(MAKEFLAGS) ctanext - @echo "zipping the result to $(TDSCOLL).ctan.zip" - cd $(TMP); zip -r -q $(CTANZIP) $(CTANCOLL); cd -; cp $(CTANZIP) . - rm -Rf $(EXPORTED) $(CTANDIR) $(CTANZIP) +# rm $(EXPORTED)/.gitignore +# cd $(EXPORTED); $(MAKE) -$(MAKEFLAGS) ctanext +# @echo "zipping the result to $(TDSCOLL).ctan.zip" +# cd $(TMP); zip -r -q $(CTANZIP) $(CTANCOLL); cd -; cp $(CTANZIP) . +# rm -Rf $(EXPORTED) $(CTANDIR) $(CTANZIP) # this target is run on EXPORTED. It first makes the target tdsext below, # and then copies all necessary stuff into CTANDIR.