generated mode: fix result
authorDerrick Brashear <shadow@dementia.org>
Sun, 27 Feb 2011 02:42:40 +0000 (21:42 -0500)
committerDerrick Brashear <shadow@dementia.org>
Sun, 27 Feb 2011 09:28:29 +0000 (01:28 -0800)
don't leave build results which will interfere with the next phase around

Change-Id: If7e5f4773b7c79f7deceb88d7393cbb65a220bd5
Reviewed-on: http://gerrit.openafs.org/4074
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>

Makefile.in
src/config/Makefile.in

index 56acadf..ed613ce 100644 (file)
@@ -67,6 +67,7 @@ generated: force buildtools
        +${COMPILE_PART1} update ${COMPILE_GENERATED}
        +${COMPILE_PART1} vlserver ${COMPILE_GENERATED}
        +${COMPILE_PART1} volser ${COMPILE_GENERATED}
+       +${COMPILE_PART1} config ${COMPILE_PART2A} generated_clean
 
 install: all install_dirs
        $(MAKE) build COMPILE_PART2B=install
index d855da5..a0813d9 100644 (file)
@@ -25,6 +25,9 @@ all: config mkvers \
        ${TOP_INCDIR}/afs/venus.h \
        ${TOP_INCDIR}/afs/vioc.h
 
+generated_clean:
+       ${RM} -f ${TOP_INCDIR}/afs/param.h
+
 buildtools: \
        config \
        mkvers \