Makefile.am
changeset 0 6f7a81934006
child 2 b3afb9f1e801
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Makefile.am	Wed Jan 16 22:39:43 2008 +0100
@@ -0,0 +1,14 @@
+if WANTPYTHON
+SUBDIRS = python php lib authenticate commands daemon cgi doc scripts
+else
+SUBDIRS = php lib authenticate commands daemon cgi doc scripts
+endif
+
+dist-hook:
+	cp -dP `find lib/ac -name CVS -prune -o \( -not -name '*~' -a -type f -o -type l \) -print` $(distdir)
+	sed -e s/@VERSION\@/@VERSION@/ <spec >$(distdir)/vmailmgr-@VERSION@.spec
+
+docs:
+	$(MAKE) -C doc all
+	$(MAKE) -C daemon docs
+	$(MAKE) -C commands docs