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 -Dversion="$(PACKAGE_VERSION)" -e "$(PACKAGE_BUGREPORT)" ; \
23 echo "Warning: \"$(top_srcdir)/INSTALL-WMAKER\" is not writeable, not regenerated" ; \
26 $(top_srcdir)/README.i18n: $(srcdir)/Translations.texi $(top_srcdir)/script/generate-txt-from-texi.sh
27 $(AM_V_GEN)if test ! -e "$(top_srcdir)/README.i18n" -o -w "$(top_srcdir)/README.i18n" ; then \
28 $(top_srcdir)/script/generate-txt-from-texi.sh \
29 $(srcdir)/Translations.texi -o $(top_srcdir)/README.i18n \
30 -Dversion="$(PACKAGE_VERSION)" -e "$(PACKAGE_BUGREPORT)" ; \
32 echo "Warning: \"$(top_srcdir)/README.i18n\" is not writeable, not regenerated" ; \