From: David Givone Date: Mon, 10 Sep 2012 00:28:37 +0000 (-0700) Subject: Only clean dist generate targets when using distclean X-Git-Tag: v3.2~92 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=61dec8c3a06b113a3f02e661206c36e3acb12c14;p=thirdparty%2Fccache.git Only clean dist generate targets when using distclean Some file are only generated when making a distribute, such as docs, and should only be cleaned when using the distclean target. If we clean the docs with the normal clean target then when using the Makefile with the distributed source code will lead to an error if you configure, make, make clean, and then make again. --- diff --git a/dev.mk.in b/dev.mk.in index bc0908bca..6fd9638ca 100644 --- a/dev.mk.in +++ b/dev.mk.in @@ -49,7 +49,7 @@ headers = \ test/util.h files_to_clean += *.tar.bz2 *.tar.gz *.tar.xz *.xml .deps/* -files_to_clean += $(built_dist_files) version.c test/suites.h +files_to_distclean += $(built_dist_files) version.c test/suites.h files_to_distclean += .deps version.c dev.mk source_dist_files = \