From df5d7ecfafb7d5ff3bcbc9e93835de2891de93f6 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Tue, 24 Jul 2012 19:04:03 +0200 Subject: [PATCH] Publish HTML documentation for each release --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a63f72c..3f7406d 100644 --- a/Makefile +++ b/Makefile @@ -15,15 +15,19 @@ tests: xsv xsv.1: xsv.1.txt a2x -f manpage -a xsvversion=$(VERSION) $< +xsv.1.html: xsv.1.txt + a2x -f xhtml -a xsvversion=$(VERSION) $< + clean: rm -f `find . -name "*~" -or -name "*.[oa]" -or -name "\#*\#" -or -name TAGS -or -name core -or -name .depend -or -name .#*` - rm -f xsv xsv.1 + rm -f xsv xsv.1 xsv.1.* rm -rf tmp -release: +release: xsv.1.html git tag v$(VERSION) git push --tags git archive --format=tar --prefix=xsv-$(VERSION)/ HEAD | gzip >$(ARCHIVE) scp $(ARCHIVE) atrey:~ftp/pub/local/mj/linux/ + rsync xsv.1.html jw:www/sw/xsv/ ssh jw "cd www && bin/release-prog xsv $(VERSION)" mv $(ARCHIVE) ~/archives/mj/ -- 2.39.2