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