]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Only clean dist generate targets when using distclean
authorDavid Givone <david@givone.net>
Mon, 10 Sep 2012 00:28:37 +0000 (17:28 -0700)
committerJoel Rosdahl <joel@rosdahl.net>
Thu, 13 Sep 2012 19:24:43 +0000 (21:24 +0200)
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.

dev.mk.in

index bc0908bcabb74578955dc1d9fcf99567bb8bd3aa..6fd9638ca23f9f995dc4bc791491606bf13ae214 100644 (file)
--- 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 = \