Smake: Add a rule to update the gl directory without doing all the other stuff
authorJohn Darrington <john@darrington.wattle.id.au>
Wed, 27 Oct 2010 12:58:02 +0000 (14:58 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Wed, 27 Oct 2010 12:58:02 +0000 (14:58 +0200)
Smake

diff --git a/Smake b/Smake
index 3ca1187520fc4baebe45af5b51a37d1141a32618..7855ce1e9826e92c66de497f0b3d4b72edadcbb6 100644 (file)
--- a/Smake
+++ b/Smake
@@ -104,6 +104,13 @@ all:
        autoheader
        automake --add-missing --copy --no-force
 
+gnulib:
+       $(GNULIB_TOOL) --add-import --no-changelog --m4-base=gl/m4 \
+               --source-base=gl --lib=libgl --tests-base=tests \
+               --doc-base=gl/doc --aux-dir=build-aux --import \
+               --libtool $(GNULIB_MODULES)
+
+
 gettextize:
        test -d m4 || mkdir m4
        touch m4/Makefile.am