configure: replaced option '--with-nls' by autoconf's '--localedir'
[wmaker-crm.git] / Makefile.am
blobaf8a64d91c48c10865a1fd6dbb4cff22336be9fa
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 where the translations are stored */' >> $@
23         @echo '#define LOCALEDIR "$(localedir)"' >> $@
24         @echo '' >> $@
25         @echo '/* define an extra path for pixmaps */' >> $@
26         @echo '#define PIXMAPDIR "$(pixmapdir)"' >> $@
27         @echo '' >> $@
28         @echo '/* where shared data is stored */' >> $@
29         @echo '#define PKGDATADIR "$(datadir)/WindowMaker"' >> $@
30         @echo '' >> $@
31         @echo '/* where the configuration is stored */' >> $@
32         @echo '#define SYSCONFDIR "$(sysconfdir)"' >> $@
34 ACLOCAL_AMFLAGS = -I m4
36 SUBDIRS = wrlib WINGs src util po WindowMaker wmlib WPrefs.app doc
37 DIST_SUBDIRS = $(SUBDIRS) test
39 EXTRA_DIST = TODO BUGS BUGFORM FAQ FAQ.I18N INSTALL \
40         INSTALL-WMAKER README.i18n README.definable-cursor \
41         The-perfect-Window-Maker-patch.txt \
42         README COPYING.WTFPL autogen.sh \
43         email-clients.txt checkpatch.pl update-changelog.pl \
44         script/check-translation-sources.sh \
45         script/generate-mapfile-from-header.sh \
46         script/generate-txt-from-texi.sh \
47         script/nested-func-to-macro.sh
49 if USE_LCOV
50 coverage-reset:
51         find . -type f -name '*.gcda' -exec rm -f '{}' ';'
52         lcov --directory . --zerocounters
54 coverage:
55         rm -rf coverage @lcov_output_directory@
56         -mkdir -p coverage @lcov_output_directory@
57         lcov --compat-libtool --capture --directory . --output-file coverage/coverage.info
58         genhtml --output-directory @lcov_output_directory@ coverage/coverage.info
60 .PHONY: coverage-reset coverage
61 endif