configure: rewrote 3 ARG_ENABLEs to get them to behave properly
[wmaker-crm.git] / Makefile.am
blobddbb0c90deb7708388483335b8ff208a21649ca8
1 ## Process this file with automake to produce Makefile.in
3 AUTOMAKE_OPTIONS =
5 BUILT_SOURCES = config-paths.h
7 DISTCLEANFILES = config-paths.h
9 config.h: config-paths.h
11 config-paths.h: Makefile
12         @echo "Generating $@"
13         @echo '/* this is a generated file - do not edit */' > $@
14         @echo '' >> $@
15         @echo '/* gettext domain used for menu translations */' >> $@
16         @if test -z "$(menutextdomain)"; then \
17           echo '/* #undef MENU_TEXTDOMAIN "$(menutextdomain)" */' >> $@; \
18         else \
19           echo '#define MENU_TEXTDOMAIN "$(menutextdomain)"' >> $@; \
20         fi
21         @echo '' >> $@
22         @echo '/* define an extra path for pixmaps */' >> $@
23         @echo '#define PIXMAPDIR "$(pixmapdir)"' >> $@
24         @echo '' >> $@
25         @echo '/* where shared data is stored */' >> $@
26         @echo '#define PKGDATADIR "$(datadir)/WindowMaker"' >> $@
27         @echo '' >> $@
28         @echo '/* where the configuration is stored */' >> $@
29         @echo '#define SYSCONFDIR "$(sysconfdir)"' >> $@
31 ACLOCAL_AMFLAGS = -I m4
33 SUBDIRS = wrlib WINGs src util po WindowMaker wmlib WPrefs.app doc
34 DIST_SUBDIRS = $(SUBDIRS) test
36 EXTRA_DIST = TODO BUGS BUGFORM FAQ FAQ.I18N INSTALL \
37         INSTALL-WMAKER README.definable-cursor \
38         The-perfect-Window-Maker-patch.txt \
39         README COPYING.WTFPL autogen.sh \
40         email-clients.txt checkpatch.pl update-changelog.pl \
41         script/nested-func-to-macro.sh
43 if USE_LCOV
44 coverage-reset:
45         find . -type f -name '*.gcda' -exec rm -f '{}' ';'
46         lcov --directory . --zerocounters
48 coverage:
49         rm -rf coverage @lcov_output_directory@
50         -mkdir -p coverage @lcov_output_directory@
51         lcov --compat-libtool --capture --directory . --output-file coverage/coverage.info
52         genhtml --output-directory @lcov_output_directory@ coverage/coverage.info
54 .PHONY: coverage-reset coverage
55 endif