diff --git a/lib/Makefile.ctan b/lib/Makefile.ctan index 530b49b..203ca3e 100644 --- a/lib/Makefile.ctan +++ b/lib/Makefile.ctan @@ -18,13 +18,13 @@ ctan: all filedate checksum git push rm -Rf $(EXPORTED) @echo "exporting a clean copy to $(EXPORTED)" - cd /tmp; git clone $(HERE); mv LaTeX-proposal $(EXPORTED) + 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.