aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGustav Eek <gustaveek@student.gu.se>2011-02-13 11:18:44 +0100
committerGustav Eek <gustaveek@student.gu.se>2011-02-13 11:20:14 +0100
commitf50db111e7caa26f5de6d44481d95c2ad45c481f (patch)
tree338d515874a1c9107022631b50b9a2cb383d11c9 /Makefile
parent81aaf8416b6409773791f6575c52b33e49337f85 (diff)
Send option added Makefile and README rewritten
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 18 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 26f5bd0..6ef77cc 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ EMACS=emacs -q --no-site-file
all: fripost-web
-fripost-web:
+fripost-web: # creates home page
$(EMACS) -batch -L . \
-l "fripost-web.el" \
-eval "(org-publish-project \"fripost-web\")"
@@ -10,3 +10,20 @@ fripost-web:
find publish -iname "*.html" -exec perl -pi -e 's!\\ndash!&ndash;!' {} \;
# Remove Emacs backup files
find publish -name "*~" -delete
+
+send: # sends to fripost.org for publication
+ rsync -ruvp publish/ fripost@fripost.org/fripost.org/
+
+clean:
+ rm *~*; rm test test.d/test; rmdir test.d
+
+# Debuging and testing
+send-test: test.d/test
+ rsync -ruvp test.d/ fripost@fripost.org:fripost.org/
+
+test.d/test: test.d
+ echo This is the test file for fripost-web. > test.d/test
+test.d:
+ mkdir test.d
+
+