Add my e-mail to the README
[fripost-web.git] / Makefile
blobda766e789bde94ad211726fd5cdd636e13aa1712
1 EMACS=emacs -q --no-site-file
3 all: fripost-web
5 fripost-web: # creates home page
6 $(EMACS) -batch -L . \
7 -l "fripost-web.el" \
8 -eval "(org-publish-project \"fripost-web\")"
9 # UGLY HACK
10 find publish -iname "*.html" -exec perl -pi -e 's!\\ndash!–!' {} \;
11 # Remove Emacs backup files
12 find publish -name "*~" -delete
14 send: # sends to fripost.org for publication
15 umask 022
16 rsync -ruvp --chmod=Dugo+rx,Fugo+r publish/ fripost@fripost.org:fripost.org/
18 clean:
19 rm -f *~*; rm -f test test.d/test; rmdir test.d
21 # Debuging and testing
22 send-test: test.d/test
23 rsync -ruvp test.d/ fripost@fripost.org:fripost.org/
25 test.d/test: test.d
26 echo This is the test file for fripost-web. > test.d/test
27 test.d:
28 mkdir test.d