From 61dec8c3a06b113a3f02e661206c36e3acb12c14 Mon Sep 17 00:00:00 2001 From: David Givone Date: Sun, 9 Sep 2012 17:28:37 -0700 Subject: [PATCH] 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. --- dev.mk.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = \ -- 2.47.3