aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2021-02-14 17:42:09 +0200
committerSergey Poznyakoff <gray@gnu.org>2021-02-14 17:42:49 +0200
commit8240f410c70c830849c10505a7526dae5018a12b (patch)
tree05901ece70cabd42804a2356325c76a567156130 /Makefile
downloadweb-8240f410c70c830849c10505a7526dae5018a12b.tar.gz
web-8240f410c70c830849c10505a7526dae5018a12b.tar.bz2
Initial commit
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..94093e5
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,20 @@
+CVSREPO=:ext:gray@puszcza.gnu.org.ua:/webcvs/xenv
+SOURCES=index.html style.css
+
+index.html: index.org
+ emacs --batch -l org2html.el index.org
+
+clean: index.html
+
+.PHONY: .cache
+.cache:
+ @if test -d .cache ; then \
+ cd .cache && cvs update ; \
+ else \
+ mkdir .cache && \
+ cvs -z3 -d $(CVSREPO) co -d .cache xenv; \
+ fi
+
+update: .cache index.html
+ rsync -az $(SOURCES) .cache
+ cd .cache && cvs commit -m 'Update'

Return to:

Send suggestions and report system problems to the System administrator.