From d0b8e0d3f12424b7861ec67ead478a57f5bb4d8e Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Fri, 22 Jul 2011 18:19:25 +0200 Subject: [PATCH] gdb(1): Fix the dreaded "xml-builtin.c already exists" quickworld error. The feature-to-c.sh script has a check that outputs this error if the file exists but would have to be regenerated (as can be the case when quickworlding). Because fixing it in the script would take more lines than fixing it in the Makefile, I do the latter (the effect is the same). --- gnu/usr.bin/gdb/libgdb/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/gnu/usr.bin/gdb/libgdb/Makefile b/gnu/usr.bin/gdb/libgdb/Makefile index 5b83da0d7c..0011488141 100644 --- a/gnu/usr.bin/gdb/libgdb/Makefile +++ b/gnu/usr.bin/gdb/libgdb/Makefile @@ -178,6 +178,7 @@ init.c: ${SRCS:Ninit.c} Makefile CLEANFILES+= init.c xml-builtin.c: feature_to_c.sh ${XMLFILES} + rm -f ${.TARGET} sh ${CONTRIBDIR}/features/feature_to_c.sh ${.TARGET} ${.ALLSRC:M*.dtd} CLEANFILES+= xml-builtin.c -- 2.41.0