diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2021-02-14 17:42:09 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2021-02-14 17:42:49 +0200 |
commit | 8240f410c70c830849c10505a7526dae5018a12b (patch) | |
tree | 05901ece70cabd42804a2356325c76a567156130 /Makefile | |
download | web-8240f410c70c830849c10505a7526dae5018a12b.tar.gz web-8240f410c70c830849c10505a7526dae5018a12b.tar.bz2 |
Initial commit
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 20 |
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' |