build: Replace mkbuildoptions-waf awk script with waf target
[sfrench/samba-autobuild/.git] / source3 / wscript_build
index 5414e6c45a1072e44c965535aeea9a6c469d229e..7a9fdcc80d1a282e734af8a7408d01226c53411e 100755 (executable)
@@ -637,10 +637,7 @@ if bld.env.toplevel_build:
 else:
     config_h = "include/config.h"
 
-bld.SAMBA_GENERATOR('build_options',
-                    source= config_h + ' script/mkbuildoptions-waf.awk',
-                    target='smbd/build_options.c',
-                    rule='${AWK} -f ${SRC[1].abspath(env)} > ${TGT} < ${SRC[0].abspath(env)}')
+bld.SAMBA_BLDOPTIONS('smbd/build_options.c')
 
 t = bld.SAMBA_GENERATOR('build_env.h',
                         source='script/build_env.sh',