2015-01-20 22:03:55 +01:00
|
|
|
# The list of sources are distributed, but none are to be
|
|
|
|
|
# installed along with Window Maker:
|
|
|
|
|
EXTRA_DIST = Readme \
|
2015-04-06 17:58:04 +02:00
|
|
|
Compilation.texi \
|
2015-01-20 22:03:55 +01:00
|
|
|
Translations.texi
|
|
|
|
|
|
|
|
|
|
# How to re-generate automatically the top-level text files
|
2015-04-06 17:58:04 +02:00
|
|
|
all-local: $(top_srcdir)/INSTALL-WMAKER $(top_srcdir)/README.i18n
|
|
|
|
|
|
2015-04-18 20:17:30 +02:00
|
|
|
# We also re-generate the documentation when "make dist" is used, because we cannot
|
|
|
|
|
# be assured that the doc currently present in the directory is up-to-date, for example
|
|
|
|
|
# if the user did not run "make (all)" for valid reason
|
|
|
|
|
dist-hook: $(top_srcdir)/INSTALL-WMAKER $(top_srcdir)/README.i18n
|
|
|
|
|
cp -f $(top_srcdir)/INSTALL-WMAKER $(top_distdir)/INSTALL-WMAKER
|
|
|
|
|
cp -f $(top_srcdir)/README.i18n $(top_distdir)/README.i18n
|
|
|
|
|
|
2015-04-06 17:58:04 +02:00
|
|
|
$(top_srcdir)/INSTALL-WMAKER: $(srcdir)/Compilation.texi $(top_srcdir)/script/generate-txt-from-texi.sh
|
|
|
|
|
$(AM_V_GEN)if test ! -e "$(top_srcdir)/INSTALL-WMAKER" -o -w "$(top_srcdir)/INSTALL-WMAKER" ; then \
|
|
|
|
|
$(top_srcdir)/script/generate-txt-from-texi.sh \
|
|
|
|
|
$(srcdir)/Compilation.texi -o $(top_srcdir)/INSTALL-WMAKER \
|
2019-02-22 17:04:15 +01:00
|
|
|
-d "`LANG=C date -u -r $(top_srcdir)/ChangeLog '+%d %B %Y' | sed -e 's,^0,,' `" \
|
2015-04-06 17:58:04 +02:00
|
|
|
-Dversion="$(PACKAGE_VERSION)" -e "$(PACKAGE_BUGREPORT)" ; \
|
|
|
|
|
else \
|
|
|
|
|
echo "Warning: \"$(top_srcdir)/INSTALL-WMAKER\" is not writeable, not regenerated" ; \
|
|
|
|
|
fi
|
2015-01-20 22:03:55 +01:00
|
|
|
|
|
|
|
|
$(top_srcdir)/README.i18n: $(srcdir)/Translations.texi $(top_srcdir)/script/generate-txt-from-texi.sh
|
2015-01-31 19:55:34 +01:00
|
|
|
$(AM_V_GEN)if test ! -e "$(top_srcdir)/README.i18n" -o -w "$(top_srcdir)/README.i18n" ; then \
|
2015-01-20 22:03:55 +01:00
|
|
|
$(top_srcdir)/script/generate-txt-from-texi.sh \
|
2015-01-20 22:04:08 +01:00
|
|
|
$(srcdir)/Translations.texi -o $(top_srcdir)/README.i18n \
|
2019-02-22 17:04:15 +01:00
|
|
|
-d "`LANG=C date -u -r $(top_srcdir)/ChangeLog '+%d %B %Y' | sed -e 's,^0,,' `" \
|
2015-01-20 22:04:08 +01:00
|
|
|
-Dversion="$(PACKAGE_VERSION)" -e "$(PACKAGE_BUGREPORT)" ; \
|
2015-01-20 22:03:55 +01:00
|
|
|
else \
|
|
|
|
|
echo "Warning: \"$(top_srcdir)/README.i18n\" is not writeable, not regenerated" ; \
|
|
|
|
|
fi
|