Release: captive7
[lufs.git] / Makefile.am
index 8f43fa1..c3f83d2 100644 (file)
@@ -1,4 +1,48 @@
-SUBDIRS=kernel lufsd filesystems util include man
-DIST_SUBDIRS=kernel lufsd filesystems util include config docs man
+SUBDIRS=macros kernel lufsd filesystems util include man
+DIST_SUBDIRS=macros kernel lufsd filesystems util include docs man
+## to automatically rebuild aclocal.m4 if any of the macros in
+## `macros/' change
+@MAINT@include macros/macros.dep
+@MAINT@macros/macros.dep: macros/Makefile.am
+@MAINT@        cd macros && $(MAKE) macros.dep
 
-EXTRA_DIST=bootstrap Contributors lufs.spec
+EXTRA_DIST= \
+               Contributors \
+               lufs.spec.in \
+               cvs2cl-usermap \
+               autogen.pl \
+               Makefile-head.am \
+               ChangeLog.captive \
+               .vimrc \
+               debian/changelog.in \
+               debian/configure-subst-x.patch \
+               debian/control \
+               debian/copyright \
+               debian/lufs.conffiles \
+               debian/lufs.dirs \
+               debian/lufs.docs \
+               debian/lufs.files \
+               debian/postinst \
+               debian/postrm \
+               debian/prerm \
+               debian/rules \
+               NEWS.captive
+
+# Needed for dpkg-buildpackage(1):
+EXTRA_DIST+=debian/changelog
+
+MAINTAINERCLEANFILES= \
+               ChangeLog.captive
+
+CLEANFILES= \
+               ChangeLog.captive.bak
+
+if MAINTAINER_MODE
+ChangeLog.captive:
+       cvs2cl --usermap cvs2cl-usermap --window 3600 --separate-header --no-wrap --file $@
+
+else
+ChangeLog.captive:
+       touch $@
+
+endif