build: run perl generators at autogen.sh time
authorAndrew Bartlett <abartlet@samba.org>
Thu, 13 Oct 2011 11:53:20 +0000 (22:53 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 13 Oct 2011 12:06:08 +0000 (14:06 +0200)
source3/autogen.sh

index d9f603090029b6e71cb6d297c428ed7230084112..e5aea3248efa7dc89bbf72f22aee1b4cfb86f50b 100755 (executable)
@@ -86,6 +86,12 @@ else
    echo "some autconf tests might not work properly"
 fi
 
+perl ../script/mkparamdefs.pl ../lib/param/param_functions.c --file ../lib/param/param_local.h --generate-scope=LOCAL
+perl ../script/mkparamdefs.pl ../lib/param/loadparm.c --file ../lib/param/param_global.h --generate-scope=GLOBAL
+perl ../script/mkparamdefs.pl param/loadparm.c --file param/param_global.h --generate-scope=GLOBAL
+perl ../source4/script/mkproto.pl ../lib/param/loadparm.c --public ../lib/param/param_proto.h  --private ../lib/param/param_proto.h
+perl ../script/mks3param.pl ../lib/param/loadparm.c --file ../lib/param/s3_param.h
+
 echo "Now run ./configure (or ./configure.developer) and then make."
 exit 0