wmcalc: Use version number from autoconf.
[dockapps.git] / wmbiff / Makefile.am
blobc971f1c9e5ed7d045cfdeecd2085fe5749c4ce31
1 SUBDIRS = wmgeneral wmbiff autoconf scripts
2 EXTRA_DIST = ChangeLog FAQ TODO
4 ACLOCAL_FLAGS = -I autoconf
5 ## dummies.
6 ACLOCAL = @ACLOCAL@ $(ACLOCAL_FLAGS)
8 ## no longer needed AUTOHEADER = @AUTOHEADER@ -l autoconf
10 # make maintainer-clean is all about returning to CVS.
11 # aclocal.m4 is generated by aclocal
12 # config.h.in is generated by autoheader
13 # stamp-h.in appears somewhere
14 # Makefile.in and configure are obviously generated.
15 MAINTAINERCLEANFILES = aclocal.m4 config.h.in stamp-h.in  \
16   Makefile.in configure Changelog.bak stamp-h1
17 maintainer-clean-local:
18         rm -f *~
20 # conf.libgnutlstest seems to outstay its welcome.
21 # I don't know why the -stamp s linger.
22 DISTCLEANFILES = conf.libgnutlstest build-stamp install-stamp
24 dist-hook-local: ChangeLog
25         chmod -R g-s .
27 indent:
28         cd wmbiff && make indent
29         cd wmgeneral && make indent
31 # manually increment version in configure.ac, which should be enough.
32 ChangeLog: Makefile configure.ac
33         @if test "x$(CVS2CL)" != "x" && test -e maint/changelog.sed; then \
34                 echo "Running $(CVS2CL)..."; \
35                 $(CVS2CL) --stdout --utc --day-of-week -I TODO -I NEWS -I .cvsignore | \
36                 sed -f maint/changelog.sed > $@; \
37         else \
38                 echo "Unable to build ChangeLog for distribution"; \
39                 exit 0; \
40         fi