Improve description of number of members goal
[fripost-web.git] / Makefile
blobff8501c85bfaeb63f88893df7c0133a12e2730d1
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 *~*; rm 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