summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClaudio Fontana <sick_soul@users.sourceforge.net>2005-12-27 05:00:12 +0000
committerClaudio Fontana <sick_soul@users.sourceforge.net>2005-12-27 05:00:12 +0000
commit0975359123f0fff5850cfc8d65bb12e80528d458 (patch)
tree754550c0044d166ca1f586e2ef44adc2a8652623
parentb15df334b4e57d247ebe6d019ee1b68ad645e3d8 (diff)
downloadidutils-0975359123f0fff5850cfc8d65bb12e80528d458.tar.gz
idutils-0975359123f0fff5850cfc8d65bb12e80528d458.tar.bz2
idutils-0975359123f0fff5850cfc8d65bb12e80528d458.zip
* added script to autogenerate m4/Makefile.am
-rw-r--r--ChangeLog1
-rw-r--r--m4/Makefile.am93
-rw-r--r--m4/Makefile.in92
-rwxr-xr-xm4/extra_dist.sh11
4 files changed, 166 insertions, 31 deletions
diff --git a/ChangeLog b/ChangeLog
index e9dfb99..48c0a7f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
* configure.ac: fixed unwanted change in bugs mailing list address
* configure.ac: moved development to version 4.1
+ * m4/extra_dist.sh: added script to autogenerate extra dist Makefile.am
* lib/dirname.c, lib/dirname.h [new files]: added dirname module
* lib/basename.c [new file]: likewise
diff --git a/m4/Makefile.am b/m4/Makefile.am
index d4b6e1a..6b8a6a2 100644
--- a/m4/Makefile.am
+++ b/m4/Makefile.am
@@ -1,16 +1,77 @@
-EXTRA_DIST = alloca.m4 atexit.m4 closeout.m4 codeset.m4 \
- d-ino.m4 error.m4 exclude.m4 exitfail.m4 extensions.m4 \
- fnmatch.m4 fpending.m4 getcwd-path-max.m4 getcwd.m4 \
- getopt.m4 gettext.m4 glibc2.m4 glibc21.m4 gnulib-cache.m4 \
- gnulib-comp.m4 gnulib-tool.m4 iconv.m4 intdiv0.m4 intmax.m4 \
- inttypes-pri.m4 inttypes.m4 inttypes_h.m4 isc-posix.m4 \
- lcmessage.m4 lib-ld.m4 lib-link.m4 lib-prefix.m4 longdouble.m4 \
- longlong.m4 lstat.m4 mbchar.m4 mbiter.m4 mbrtowc.m4 \
- mbstate_t.m4 memchr.m4 memcpy.m4 mempcpy.m4 memset.m4 \
- nls.m4 obstack.m4 onceonly_2_57.m4 pathmax.m4 po.m4 \
- printf-posix.m4 progtest.m4 quotearg.m4 regex.m4 \
- restrict.m4 signed.m4 size_max.m4 stat-macros.m4 stdbool.m4 \
- stdint_h.m4 strcase.m4 strcspn.m4 strdup.m4 strerror_r.m4 \
- strpbrk.m4 strsep.m4 strstr.m4 uintmax_t.m4 ulonglong.m4 \
- wchar_t.m4 wint_t.m4 xalloc.m4 xgetcwd.m4 xsize.m4
-
+EXTRA_DIST = \
+ alloca.m4 \
+ atexit.m4 \
+ closeout.m4 \
+ codeset.m4 \
+ d-ino.m4 \
+ dirname.m4 \
+ dos.m4 \
+ error.m4 \
+ exclude.m4 \
+ exitfail.m4 \
+ extensions.m4 \
+ fnmatch.m4 \
+ fpending.m4 \
+ getcwd-path-max.m4 \
+ getcwd.m4 \
+ getopt.m4 \
+ gettext.m4 \
+ glibc2.m4 \
+ glibc21.m4 \
+ gnulib-cache.m4 \
+ gnulib-comp.m4 \
+ gnulib-tool.m4 \
+ iconv.m4 \
+ intdiv0.m4 \
+ intmax.m4 \
+ intmax_t.m4 \
+ inttostr.m4 \
+ inttypes-pri.m4 \
+ inttypes.m4 \
+ inttypes_h.m4 \
+ isc-posix.m4 \
+ lcmessage.m4 \
+ lib-ld.m4 \
+ lib-link.m4 \
+ lib-prefix.m4 \
+ longdouble.m4 \
+ longlong.m4 \
+ lstat.m4 \
+ mbchar.m4 \
+ mbiter.m4 \
+ mbrtowc.m4 \
+ mbstate_t.m4 \
+ memchr.m4 \
+ memcpy.m4 \
+ mempcpy.m4 \
+ memset.m4 \
+ nls.m4 \
+ obstack.m4 \
+ onceonly_2_57.m4 \
+ pathmax.m4 \
+ po.m4 \
+ printf-posix.m4 \
+ progtest.m4 \
+ quotearg.m4 \
+ regex.m4 \
+ restrict.m4 \
+ signed.m4 \
+ size_max.m4 \
+ stat-macros.m4 \
+ stdbool.m4 \
+ stdint_h.m4 \
+ strcase.m4 \
+ strcspn.m4 \
+ strdup.m4 \
+ strerror_r.m4 \
+ strpbrk.m4 \
+ strsep.m4 \
+ strstr.m4 \
+ uintmax_t.m4 \
+ ulonglong.m4 \
+ wchar_t.m4 \
+ wint_t.m4 \
+ xalloc.m4 \
+ xgetcwd.m4 \
+ xsize.m4 \
+ extra_dist.sh
diff --git a/m4/Makefile.in b/m4/Makefile.in
index 2c2dcba..f32f71a 100644
--- a/m4/Makefile.in
+++ b/m4/Makefile.in
@@ -205,21 +205,83 @@ sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
-EXTRA_DIST = alloca.m4 atexit.m4 closeout.m4 codeset.m4 \
- d-ino.m4 error.m4 exclude.m4 exitfail.m4 extensions.m4 \
- fnmatch.m4 fpending.m4 getcwd-path-max.m4 getcwd.m4 \
- getopt.m4 gettext.m4 glibc2.m4 glibc21.m4 gnulib-cache.m4 \
- gnulib-comp.m4 gnulib-tool.m4 iconv.m4 intdiv0.m4 intmax.m4 \
- inttypes-pri.m4 inttypes.m4 inttypes_h.m4 isc-posix.m4 \
- lcmessage.m4 lib-ld.m4 lib-link.m4 lib-prefix.m4 longdouble.m4 \
- longlong.m4 lstat.m4 mbchar.m4 mbiter.m4 mbrtowc.m4 \
- mbstate_t.m4 memchr.m4 memcpy.m4 mempcpy.m4 memset.m4 \
- nls.m4 obstack.m4 onceonly_2_57.m4 pathmax.m4 po.m4 \
- printf-posix.m4 progtest.m4 quotearg.m4 regex.m4 \
- restrict.m4 signed.m4 size_max.m4 stat-macros.m4 stdbool.m4 \
- stdint_h.m4 strcase.m4 strcspn.m4 strdup.m4 strerror_r.m4 \
- strpbrk.m4 strsep.m4 strstr.m4 uintmax_t.m4 ulonglong.m4 \
- wchar_t.m4 wint_t.m4 xalloc.m4 xgetcwd.m4 xsize.m4
+EXTRA_DIST = \
+ alloca.m4 \
+ atexit.m4 \
+ closeout.m4 \
+ codeset.m4 \
+ d-ino.m4 \
+ dirname.m4 \
+ dos.m4 \
+ error.m4 \
+ exclude.m4 \
+ exitfail.m4 \
+ extensions.m4 \
+ fnmatch.m4 \
+ fpending.m4 \
+ getcwd-path-max.m4 \
+ getcwd.m4 \
+ getopt.m4 \
+ gettext.m4 \
+ glibc2.m4 \
+ glibc21.m4 \
+ gnulib-cache.m4 \
+ gnulib-comp.m4 \
+ gnulib-tool.m4 \
+ iconv.m4 \
+ intdiv0.m4 \
+ intmax.m4 \
+ intmax_t.m4 \
+ inttostr.m4 \
+ inttypes-pri.m4 \
+ inttypes.m4 \
+ inttypes_h.m4 \
+ isc-posix.m4 \
+ lcmessage.m4 \
+ lib-ld.m4 \
+ lib-link.m4 \
+ lib-prefix.m4 \
+ longdouble.m4 \
+ longlong.m4 \
+ lstat.m4 \
+ mbchar.m4 \
+ mbiter.m4 \
+ mbrtowc.m4 \
+ mbstate_t.m4 \
+ memchr.m4 \
+ memcpy.m4 \
+ mempcpy.m4 \
+ memset.m4 \
+ nls.m4 \
+ obstack.m4 \
+ onceonly_2_57.m4 \
+ pathmax.m4 \
+ po.m4 \
+ printf-posix.m4 \
+ progtest.m4 \
+ quotearg.m4 \
+ regex.m4 \
+ restrict.m4 \
+ signed.m4 \
+ size_max.m4 \
+ stat-macros.m4 \
+ stdbool.m4 \
+ stdint_h.m4 \
+ strcase.m4 \
+ strcspn.m4 \
+ strdup.m4 \
+ strerror_r.m4 \
+ strpbrk.m4 \
+ strsep.m4 \
+ strstr.m4 \
+ uintmax_t.m4 \
+ ulonglong.m4 \
+ wchar_t.m4 \
+ wint_t.m4 \
+ xalloc.m4 \
+ xgetcwd.m4 \
+ xsize.m4 \
+ extra_dist.sh
all: all-am
diff --git a/m4/extra_dist.sh b/m4/extra_dist.sh
new file mode 100755
index 0000000..a1eb629
--- /dev/null
+++ b/m4/extra_dist.sh
@@ -0,0 +1,11 @@
+#! /bin/sh
+
+echo "EXTRA_DIST = \\" > Makefile.am
+
+for NAME in *.m4; do
+ echo " $NAME \\" >> Makefile.am
+done
+
+echo " extra_dist.sh" >> Makefile.am
+
+