From d86764710e88d41a14a298ed3fe4dd8cb39256f4 Mon Sep 17 00:00:00 2001 From: Michael Kohlhase Date: Thu, 15 Jan 2015 14:30:31 +0100 Subject: [PATCH] draining just to be sure for CTAN distribution --- Makefile | 7 ++++--- lib/Makefile.ctan | 8 ++++---- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 07fb8e7..f85e3f6 100644 --- a/Makefile +++ b/Makefile @@ -10,11 +10,12 @@ all clean distclean: package doc filedate checksum enablechecksum disablechecksum: @for d in $(DTXDIRS); do (cd $$d && $(MAKE) -$(MAKEFLAGS) $@) done -TDSURL = https://svn.kwarc.info/repos/kwarc/doc/macros/forCTAN/proposal +GITURI = git@github.com:KWARC/LaTeX-proposal.git TDS.src = -TDS.doc = README +TDS.doc = README.md TDS.src = - +include lib/Makefile.vars +include lib/Makefile.in include lib/Makefile.ctan echo: diff --git a/lib/Makefile.ctan b/lib/Makefile.ctan index 4047e91..340786e 100644 --- a/lib/Makefile.ctan +++ b/lib/Makefile.ctan @@ -1,6 +1,5 @@ # make a zip for CTAN submission including the TeX directory structure -SVNEXP = svn export --quiet -TDSCOLL ?= $(shell basename $$PWD) +TDSCOLL = proposal EXPORTED = /tmp/$(TDSCOLL) TDSDIR = /tmp/$(TDSCOLL).tds TDSZIP = /tmp/$(TDSCOLL).tds.zip @@ -13,10 +12,11 @@ CTANZIP = /tmp/$(TDSCOLL).ctan.zip # export a clean copy EXPORTED, on which we run the target ctanexp below, # which generates a directory CTANDIR, which we zip and move into place. ctan: all filedate checksum - svn ci -m'draining just to be sure for CTAN distribution' + git commit -am'draining just to be sure for CTAN distribution' + git push rm -Rf $(EXPORTED) @echo "exporting a clean copy to $(EXPORTED)" - $(SVNEXP) $(TDSURL) $(EXPORTED) + cd /tmp; git clone $(GITURI); mv LaTeX-proposal $(TDSCOLL) find $(EXPORTED) -name ".svn" -type d -exec rm -Rf {} \; cd $(EXPORTED); $(MAKE) -$(MAKEFLAGS) ctanext @echo "zipping the result to $(TDSCOLL).ctan.zip"