Update email address
[wmaker-crm.git] / Makefile.am
blobf26c0a2e3ce257b921477e59a878d09c472de913
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 '/* define to the path to cpp */' > $@
14         @echo '#define CPP_PATH "$(CPP_PATH)"' >> $@
15         @echo '' >> $@
16         @echo '/* gettext domain used for menu translations */' >> $@
17         @if test -z "$(menutextdomain)"; then \
18           echo '/* #undef MENU_TEXTDOMAIN "$(menutextdomain)" */' >> $@; \
19         else \
20           echo '#define MENU_TEXTDOMAIN "$(menutextdomain)"' >> $@; \
21         fi
22         @echo '' >> $@
23         @echo '/* define an extra path for pixmaps */' >> $@
24         @echo '#define PIXMAPDIR "$(pixmapdir)"' >> $@
25         @echo '' >> $@
26         @echo '/* where shared data is stored */' >> $@
27         @echo '#define PKGDATADIR "$(datadir)/WindowMaker"' >> $@
28         @echo '' >> $@
29         @echo '/* where the configuration is stored */' >> $@
30         @echo '#define SYSCONFDIR "$(sysconfdir)"' >> $@
32 ACLOCAL_AMFLAGS = -I m4
34 SUBDIRS = wrlib WINGs src util po WindowMaker WPrefs.app doc
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
41 if USE_LCOV
42 coverage-reset:
43         find . -type f -name '*.gcda' -exec rm -f '{}' ';'
44         lcov --directory . --zerocounters
46 coverage:
47         rm -rf coverage @lcov_output_directory@
48         -mkdir -p coverage @lcov_output_directory@
49         lcov --compat-libtool --capture --directory . --output-file coverage/coverage.info
50         genhtml --output-directory @lcov_output_directory@ coverage/coverage.info
52 .PHONY: coverage-reset coverage
53 endif