]> mj.ucw.cz Git - xsv.git/commitdiff
Publish HTML documentation for each release
authorMartin Mares <mj@ucw.cz>
Tue, 24 Jul 2012 17:04:03 +0000 (19:04 +0200)
committerMartin Mares <mj@ucw.cz>
Tue, 24 Jul 2012 17:04:03 +0000 (19:04 +0200)
Makefile

index a63f72c25adc368657f624404db46b1f4dba38d4..3f7406ddc307adf65244ea743d52ddb44a81f397 100644 (file)
--- 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/