]> Cypherpunks.ru repositories - cypherpunks-www.git/commitdiff
Оставить в Makefile только то что нужно для сборки
authorSergey Matveev <stargrave@stargrave.org>
Wed, 14 Sep 2016 10:42:50 +0000 (13:42 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Wed, 14 Sep 2016 10:44:51 +0000 (13:44 +0300)
.gitignore [deleted file]
Makefile
private.mk [deleted file]

diff --git a/.gitignore b/.gitignore
deleted file mode 100644 (file)
index f8e36cc..0000000
+++ /dev/null
@@ -1 +0,0 @@
-private.mk
index 21ff7c0c4daa6ee5989ce7760704f45413aa9654..877a9cff82b99c4a35ad0403150b30f4a8742394 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,25 +1,6 @@
-include private.mk
-
-.PHONY: static
-
-all: clean html static
-
-clean:
-       rm -rf out.html
-
 html:
-       makeinfo --html --css-include=style.css -o out.html index.texi
-
-static:
-       cd static ; tar cf - . | tar xfC - ../out.html
-
-update: update-remote update-hosting
-
-update-remote:
-       rsync -rv --progress --delete out.html/ lighttpd@gw.stargrave.org:www.cypherpunks.ru
-
-update-hosting:
-       echo "mirror --delete --reverse out.html cypherpunks.ru/docs" | \
-               lftp -d -u $(FTP_MIRROR_LOGIN),$(FTP_MIRROR_PASSWORD) $(FTP_MIRROR_HOST)
-       echo "mirror --delete --reverse out.html/govpn govpn.info/docs" | \
-               lftp -d -u $(FTP_MIRROR_LOGIN),$(FTP_MIRROR_PASSWORD) $(FTP_MIRROR_HOST)
+       makeinfo --html \
+               --css-include=style.css \
+               --set-customization-variable SHOW_TITLE=0 \
+               --set-customization-variable DATE_IN_HEADER=1 \
+               -o out.html index.texi
diff --git a/private.mk b/private.mk
deleted file mode 100644 (file)
index e69de29..0000000