diff options
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' |