From: Eneas U de Queiroz Date: Sun, 19 Apr 2020 23:12:52 +0000 (-0300) Subject: build: have config-clean deal with old temp files X-Git-Tag: v21.02.0-rc1~2736 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=80b350f528644c269c8630e41a4a992734356bb3;p=openwrt%2Fopenwrt.git build: have config-clean deal with old temp files This is a temporary commit to have 'make config-clean' remove temporary files from the previous scripts/config version. The .gitignore file is updated to deal with the old files as well. Cc: Kevin Darbyshire-Bryant Signed-off-by: Eneas U de Queiroz --- diff --git a/scripts/config/.gitignore b/scripts/config/.gitignore index b5bf92f66d..737c5b7953 100644 --- a/scripts/config/.gitignore +++ b/scripts/config/.gitignore @@ -12,3 +12,10 @@ mconf nconf qconf gconf + +# +# temporary files from older version. Should be removed +# +zconf.???.c +zconf.hash.c +.tmp_qtcheck diff --git a/scripts/config/Makefile b/scripts/config/Makefile index eb55b759a8..d98f15c393 100644 --- a/scripts/config/Makefile +++ b/scripts/config/Makefile @@ -7,7 +7,10 @@ all: conf mconf clean: rm -f *.o lxdialog/*.o *.moc $(clean-files) conf mconf qconf -clean-files := +# This clean-files definition is here to ensure that temporary files from the +# previous version are removed by make config-clean. +# It should be removed or emptied when this Makefile get updated again. +clean-files := zconf.tab.c zconf.lex.c zconf.hash.c .tmp_qtcheck # =========================================================================== # Variables needed by the upstream Makefile