]> Cypherpunks.ru repositories - cypherpunks-www.git/commitdiff
Разделить цели сборки на части, так как для обновления статики не надо собирать докум...
authorSergey Matveev <stargrave@stargrave.org>
Sun, 15 Nov 2015 11:07:36 +0000 (14:07 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Sun, 15 Nov 2015 11:07:36 +0000 (14:07 +0300)
Makefile

index 312f38f06a96ada558e61672a3ab7c1cc358bec5..3cc9513de8db4a926b7daf4310f5bad95adf76f7 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,18 @@
 include Makefile.private
 
-html:
-       makeinfo --html -o out.html index.texi
+.PHONY: static
 
-all:
+clean:
        rm -rf out.html
+
+html:
        makeinfo --html -o out.html index.texi
+
+static:
        cd static ; tar cf - . | tar xfC - ../out.html
 
+all: clean html static
+
 update:
        rsync -av --progress --delete out.html/ gw.stargrave.org:cypherpunks
        echo "mirror --delete --reverse out.html cypherpunks.ru/docs" | \