On 04/06/2015 10:58 AM, Christophe CURIS wrote: > diff --git a/doc/build/Makefile.am b/doc/build/Makefile.am > index 93e3e8b..c80394e 100644 > --- a/doc/build/Makefile.am > +++ b/doc/build/Makefile.am > @@ -1,10 +1,20 @@ > # The list of sources are distributed, but none are to be > # installed along with Window Maker: > EXTRA_DIST = Readme \ > + Compilation.texi \ > Translations.texi > > # How to re-generate automatically the top-level text files > -all-local: $(top_srcdir)/README.i18n > +all-local: $(top_srcdir)/INSTALL-WMAKER $(top_srcdir)/README.i18n > + > +$(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 \ > + -Dversion="$(PACKAGE_VERSION)" -e "$(PACKAGE_BUGREPORT)" ; \ > + else \ > + echo "Warning: \"$(top_srcdir)/INSTALL-WMAKER\" is not writeable, > not regenerated" ; \ > + fi >
Would it be possible for this to run during "make dist"? Right now, the INSTALL-WMAKER in a "make dist"-generated tarball is the one generated by autogen.sh and lists "git#next" as its version (the default). But when Window Maker is built, a new INSTALL-WMAKER is generated with the version from configure.ac. This can cause problems, e.g., when building Debian packages where the source tree is expected to match the source tarball. There's no problem the first time, but the build fails on successive attempts. This is also a problem for README.i18n. Thanks! Doug -- To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.