Need to make sure m4/Makefile.am exists before running gnulib-tool.
authorBen Pfaff <blp@gnu.org>
Sun, 7 Aug 2005 04:56:17 +0000 (04:56 +0000)
committerBen Pfaff <blp@gnu.org>
Sun, 7 Aug 2005 04:56:17 +0000 (04:56 +0000)
Smake

diff --git a/Smake b/Smake
index 6f0f7cc5251a5b974ff31cdcae673646625f225e..404eb8a2f3968d9075872e51954fb37e8deaed36 100644 (file)
--- a/Smake
+++ b/Smake
@@ -4,10 +4,13 @@ GNULIB = ../gnulib
 GNULIB_TOOL = $(GNULIB)/gnulib-tool
 
 all: po/POTFILES.in
+       test -d m4 || mkdir m4
+       touch m4/Makefile.am
        $(GNULIB_TOOL) --import
        autoreconf --install
 
 gettextize:
+       test -d m4 || mkdir m4
        touch m4/Makefile.am
        gettextize -f -c --intl --no-changelog