mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-26 16:32:30 +01:00
In order to improve the amount of things that are checked by the make distcheck command, this patch enables support for I18N with all the languages that are supported. To achieve this, this patch adds the non-standard special case LINGUAS='*' which automatically enable all known languages. Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
59 lines
1.8 KiB
Makefile
59 lines
1.8 KiB
Makefile
## Process this file with automake to produce Makefile.in
|
|
|
|
AUTOMAKE_OPTIONS =
|
|
|
|
BUILT_SOURCES = config-paths.h
|
|
|
|
DISTCLEANFILES = config-paths.h
|
|
|
|
config.h: config-paths.h
|
|
|
|
config-paths.h: Makefile
|
|
@echo "Generating $@"
|
|
@echo '/* this is a generated file - do not edit */' > $@
|
|
@echo '' >> $@
|
|
@echo '/* define where the translations are stored */' >> $@
|
|
@echo '#define LOCALEDIR "$(localedir)"' >> $@
|
|
@echo '' >> $@
|
|
@echo '/* define an extra path for pixmaps */' >> $@
|
|
@echo '#define PIXMAPDIR "$(pixmapdir)"' >> $@
|
|
@echo '' >> $@
|
|
@echo '/* where shared data is stored */' >> $@
|
|
@echo '#define PKGDATADIR "$(datadir)/WindowMaker"' >> $@
|
|
@echo '' >> $@
|
|
@echo '/* where the configuration is stored */' >> $@
|
|
@echo '#define SYSCONFDIR "$(sysconfdir)"' >> $@
|
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
# Improve coverage in 'make distcheck' by checking that translations work
|
|
AM_DISTCHECK_CONFIGURE_FLAGS = --enable-silent-rules LINGUAS='*'
|
|
|
|
|
|
SUBDIRS = wrlib WINGs src util po WindowMaker wmlib WPrefs.app doc
|
|
DIST_SUBDIRS = $(SUBDIRS) test
|
|
|
|
EXTRA_DIST = TODO BUGS BUGFORM FAQ INSTALL \
|
|
INSTALL-WMAKER README.i18n README.definable-cursor \
|
|
The-perfect-Window-Maker-patch.txt \
|
|
README COPYING.WTFPL autogen.sh \
|
|
email-clients.txt checkpatch.pl update-changelog.pl \
|
|
script/check-translation-sources.sh \
|
|
script/generate-mapfile-from-header.sh \
|
|
script/generate-txt-from-texi.sh \
|
|
script/nested-func-to-macro.sh
|
|
|
|
if USE_LCOV
|
|
coverage-reset:
|
|
find . -type f -name '*.gcda' -exec rm -f '{}' ';'
|
|
lcov --directory . --zerocounters
|
|
|
|
coverage:
|
|
rm -rf coverage @lcov_output_directory@
|
|
-mkdir -p coverage @lcov_output_directory@
|
|
lcov --compat-libtool --capture --directory . --output-file coverage/coverage.info
|
|
genhtml --output-directory @lcov_output_directory@ coverage/coverage.info
|
|
|
|
.PHONY: coverage-reset coverage
|
|
endif
|