wmcore: set DESTDIR so binary installs correctly.
[dockapps.git] / wmbiff / Makefile.am
blob169f91d44faf4ec78383ac8a9a1cab74a3a2d75b
1 SUBDIRS = wmgeneral wmbiff scripts
2 EXTRA_DIST = ChangeLog FAQ TODO
4 # make maintainer-clean is all about returning to CVS.
5 # aclocal.m4 is generated by aclocal
6 # config.h.in is generated by autoheader
7 # stamp-h.in appears somewhere
8 # Makefile.in and configure are obviously generated.
9 MAINTAINERCLEANFILES = aclocal.m4 config.h.in stamp-h.in  \
10   Makefile.in configure Changelog.bak stamp-h1
11 maintainer-clean-local:
12         rm -f *~
14 # conf.libgnutlstest seems to outstay its welcome.
15 # I don't know why the -stamp s linger.
16 DISTCLEANFILES = conf.libgnutlstest build-stamp install-stamp
18 dist-hook-local: ChangeLog
19         chmod -R g-s .
21 indent:
22         cd wmbiff && make indent
23         cd wmgeneral && make indent
25 # manually increment version in configure.ac, which should be enough.
26 ChangeLog: Makefile configure.ac
27         @if test "x$(CVS2CL)" != "x" && test -e maint/changelog.sed; then \
28                 echo "Running $(CVS2CL)..."; \
29                 $(CVS2CL) --stdout --utc --day-of-week -I TODO -I NEWS -I .cvsignore | \
30                 sed -f maint/changelog.sed > $@; \
31         else \
32                 echo "Unable to build ChangeLog for distribution"; \
33                 exit 0; \
34         fi