[tex4ht-commits] [SCM] tex4ht updated: r341 - trunk
michal_h21 at gnu.org.ua
michal_h21 at gnu.org.ua
Fri Oct 27 15:42:22 CEST 2017
Author: michal_h21
Date: 2017-10-27 16:42:22 +0300 (Fri, 27 Oct 2017)
New Revision: 341
Modified:
trunk/Makefile
Log:
Started to work on the CTAN publish procedure
Modified: trunk/Makefile
===================================================================
--- trunk/Makefile 2017-10-26 22:06:02 UTC (rev 340)
+++ trunk/Makefile 2017-10-27 13:42:22 UTC (rev 341)
@@ -5,6 +5,17 @@
version = 1.1
relname = $(pkg)-$(version)
+ctandir = ctan
+texmfdir = $(ctandir)/texmf
+4htdir = $(texmfdir)/tex/generic/tex4ht
+htfontsdir = $(texmfdir)/tex4ht/ht-fonts
+docdir = $(texmfdir)/doc/generic/tex4ht
+4htfiles = $(wildcard lit/*.4ht) lit/tex4ht.sty
+htfontsfiles = lit/tex4ht.dir/texmf/tex4ht/ht-fonts/*
+docfiles = $(wildcard doc/mn/*.html) $(wildcard doc/mn/*.css) $(wildcard doc/mn/*.tex)
+
+.PHONY: ctan
+
dist: $(relname).tar.gz
$(relname).tar.gz: force
rm -f $@
@@ -15,3 +26,12 @@
# * won't really work, just a placeholder.
force:
+
+ctan:
+ @rm -rf $(ctan)
+ @mkdir -p $(4htdir) $(htfontsdir) $(docdir)
+ @cp $(4htfiles) $(4htdir)
+ @cp -r $(htfontsfiles) $(htfontsdir)
+ @cp $(docfiles) $(docdir)
+ cd $(ctandir) && zip -r tex4ht-ctan.zip texmf
+
More information about the tex4ht-commits
mailing list