doc: explain how to help translating the Window Maker project
[wmaker-crm.git] / Makefile.am
blobbd1db34eb09e003b9b7c8f170bea631b06c72934
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 '/* define where the translations are stored */' >> $@
16         @echo '#define LOCALEDIR "$(localedir)"' >> $@
17         @echo '' >> $@
18         @echo '/* define an extra path for pixmaps */' >> $@
19         @echo '#define PIXMAPDIR "$(pixmapdir)"' >> $@
20         @echo '' >> $@
21         @echo '/* where shared data is stored */' >> $@
22         @echo '#define PKGDATADIR "$(datadir)/WindowMaker"' >> $@
23         @echo '' >> $@
24         @echo '/* where the configuration is stored */' >> $@
25         @echo '#define SYSCONFDIR "$(sysconfdir)"' >> $@
27 ACLOCAL_AMFLAGS = -I m4
29 # Improve coverage in 'make distcheck' by checking that translations work
30 AM_DISTCHECK_CONFIGURE_FLAGS = --enable-silent-rules LINGUAS='*'
33 SUBDIRS = wrlib WINGs src util po WindowMaker wmlib WPrefs.app doc
34 DIST_SUBDIRS = $(SUBDIRS) test
36 EXTRA_DIST = TODO BUGS BUGFORM FAQ INSTALL \
37         INSTALL-WMAKER README.i18n 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/check-translation-sources.sh \
42         script/generate-mapfile-from-header.sh \
43         script/generate-txt-from-texi.sh \
44         script/nested-func-to-macro.sh
46 if USE_LCOV
47 coverage-reset:
48         find . -type f -name '*.gcda' -exec rm -f '{}' ';'
49         lcov --directory . --zerocounters
51 coverage:
52         rm -rf coverage @lcov_output_directory@
53         -mkdir -p coverage @lcov_output_directory@
54         lcov --compat-libtool --capture --directory . --output-file coverage/coverage.info
55         genhtml --output-directory @lcov_output_directory@ coverage/coverage.info
57 .PHONY: coverage-reset coverage
58 endif