From: Sergey Matveev Date: Wed, 14 Sep 2016 10:42:50 +0000 (+0300) Subject: Оставить в Makefile только то что нужно для сборки X-Git-Url: http://www.git.cypherpunks.ru/?a=commitdiff_plain;h=a272f94b56249f328a93957cbd9850ce274b486d;p=cypherpunks-www.git Оставить в Makefile только то что нужно для сборки --- diff --git a/.gitignore b/.gitignore deleted file mode 100644 index f8e36cc..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -private.mk diff --git a/Makefile b/Makefile index 21ff7c0..877a9cf 100644 --- 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 index e69de29..0000000