summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorHellekin O. Wolf =8) <[email protected]>2010-06-16 16:35:52 (GMT)
committer Hellekin O. Wolf =8) <[email protected]>2010-06-16 16:35:52 (GMT)
commitcc78300728c36ec2ac044652cefb47132f19d54d (patch)
treea3eccd9872dff7a169dc71baadaeadfd068e481f /Makefile.am
parent0d03b793a59c165b5e0c92a4ebc9ed272aa94201 (diff)
parentd5d9169cb58531127f34677ac246c611180dcc66 (diff)
Merged 'dirs' branch and cleaned up
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index c8ad9ca..761d78e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,5 +1,8 @@
SUBDIRS = etc src
+ORG_FILES = $(shell find doc org -type f -name "*.org" -print 2>/dev/null)
+
+# FIXME: use awk-server, or check more dependencies such as a web server...
test:
@echo
@echo "starting an minimal apache server to test (requires root)"
@@ -14,3 +17,11 @@ test:
@echo "to stop it, use 'sudo killall apache2' or simply:"
@echo "sudo kill `cat etc/apache/test.pid`"
@echo
+
+all:
+ @mkdir pub
+ @if [ ! -r org ]; mkdir -m 0755 org; fi
+ @emacs -batch -Q -l src/org-batch.el -e '(autorg-publish-project "autorg" t)'
+
+clean:
+ @rm -rf pub