+2007-02-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ * libltdl/Makefile.inc: Fix the file description, so that it
+ matches recursive and nonrecursive libltdl setup.
+ * Makefile.am ($(srcdir)/libltdl/Makefile.am): Do not depend
+ upon the exact text of the copyright header, just copy until
+ the marker line. Remove the marker lines in the output, and
+ adjust the description for subpackage setup.
+
2007-02-26 Gary V. Vaughan <gary@gnu.org>
* Makefile.am ($(srcdir)/libltdl/Makefile.am): Fix regexp typo.
cd $(srcdir); \
in=libltdl/Makefile.inc; out=libltdl/Makefile.am; \
rm -f $$out; \
- $(SED) -n '/^.. Makefile.am -- /,/^.. MA 02110-1301, USA./p' $$in > $$out; \
+ ( $(SED) -n '1,/^.. DO NOT REMOVE THIS LINE -- /p' $$in; \
{ echo 'ACLOCAL_AMFLAGS = -I m4'; \
echo 'AUTOMAKE_OPTIONS = foreign'; \
echo 'AM_CPPFLAGS ='; \
echo 'EXTRA_DIST ='; \
echo 'CLEANFILES ='; \
echo 'MOSTLYCLEANFILES ='; \
- } >> $$out; \
+ }; \
$(SED) -n '/^.. DO NOT REMOVE THIS LINE -- /,$$p' $$in | \
$(SED) -e 's,libltdl_,,; s,libltdl/,,; s,: libltdl/,: ,' \
- -e 's,\$$(libltdl_,$$(,' >> $$out;
+ -e 's,\$$(libltdl_,$$(,' \
+ ) | \
+ $(SED) -e '/^.. DO NOT REMOVE THIS LINE -- /d' \
+ -e '1s,^\(.. Makefile.\)inc.*,\1am -- Process this file with automake to produce Makefile.in,' > $$out;
chmod a-w $(srcdir)/libltdl/Makefile.am
-## Makefile.am -- Process this file with automake to produce Makefile.in
+## Makefile.inc -- includable Makefile.am snippet
##
-## Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
+## Copyright (C) 2003, 2004, 2005, 2007 Free Software Foundation, Inc.
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by