2005-12-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+ * Makefile.am (libltdl/Makefile.in): also depend on
+ libltdl/aclocal.m4, so that we guarantee timestamp consistency.
+ (libltdl/stamp-mk): New target, to fix `libltdl/Makefile.in'.
+ (EXTRA_DIST): Distribute `libltdl/stamp-mk'.
+ (all-local): Ensure the stamp files is up to date.
+ (libltdl/aclocal.m4): New target, to ensure timestamp
+ consistency. Depend on all m4 files.
+ * HACKING: Updated.
+
* tests/testsuite.at (PREPARE_TESTS): New variable `tst_dist',
default to empty.
* tests/nonrecursive.at, tests/recursive.at,
* In general, if a loop is required, it should be silent. Then the body
of the loop itself should print each "important" command it runs.
+* Use 4 extra spaces to indent continued dependencies.
+
+* One needs to remember that for our whole logic for the different
+ libltdl modes to function correctly, the thing we need to ensure
+ *before the client runs libtoolize*, is that the subpackage case is
+ correct (because all files may be symlinked there). All others can
+ and will be fixed in the `libtoolize --ltdl --(non)recursive' stage.
+
7. Editing `.m4sh' Files
========================
$(M4SH) -B $(auxdir) libtoolize.m4sh > libtoolize.in
libtool: $(top_builddir)/config.status $(srcdir)/$(auxdir)/ltmain.sh \
- $(srcdir)/stamp-vcl
+ $(srcdir)/stamp-vcl
cd $(top_builddir) && $(SHELL) ./config.status $@
.PHONY: configure-subdirs
s,\$$(libltdl_,$$(,; p; }' $$in >> $$out;
chmod a-w $(srcdir)/libltdl/Makefile.am
-$(srcdir)/libltdl/Makefile.in: $(srcdir)/libltdl/Makefile.am
+$(srcdir)/libltdl/Makefile.in: $(srcdir)/libltdl/Makefile.am \
+ $(srcdir)/libltdl/aclocal.m4
cd $(srcdir)/libltdl && $(AUTOMAKE) Makefile
+$(srcdir)/libltdl/stamp-mk: $(srcdir)/libltdl/Makefile.in
+ cd $(srcdir)/libltdl && \
+ sed -e 's,config/mdate-sh,,' -e 's,config/texinfo.tex,,' \
+ -e 's,config/mkinstalldirs,,' \
+ < Makefile.in > Makefile.inT && \
+ mv -f Makefile.inT Makefile.in
+ echo stamp > $@
+
+EXTRA_DIST += libltdl/stamp-mk $(m4dir)/lt~obsolete.m4
+
+$(srcdir)/libltdl/aclocal.m4: \
+ $(m4dir)/libtool.m4 \
+ $(m4dir)/ltoptions.m4 \
+ $(m4dir)/ltdl.m4 \
+ $(m4dir)/ltversion.m4 \
+ $(m4dir)/ltsugar.m4 \
+ $(m4dir)/argz.m4 \
+ $(m4dir)/lt~obsolete.m4
+ cd $(srcdir)/libltdl && $(ACLOCAL) -I m4
+
# We want the libltdl files to be up to date as much as possible.
-all-local: $(srcdir)/libltdl/Makefile.in
+all-local: $(srcdir)/libltdl/stamp-mk
## -------- ##