Bug 691485

Summary: 'make clean' doesn't
Product: Ghostscript Reporter: Marcos H. Woehrmann <marcos.woehrmann>
Component: Build ProcessAssignee: Marcos H. Woehrmann <marcos.woehrmann>
Status: RESOLVED FIXED    
Severity: normal CC: alex
Priority: P4    
Version: master   
Hardware: PC   
OS: All   
Customer: Word Size: ---

Description Marcos H. Woehrmann 2010-07-21 21:50:58 UTC
On my Linux box 'autogen.sh ; make ; make clean' leaves two files in obj: tif_config.h  tiffconf.h.
Comment 1 Hin-Tak Leung 2010-07-23 03:48:59 UTC
This simply patch does the job:

--- a/base/gs.mak
+++ b/base/gs.mak
@@ -293,7 +293,7 @@ mostlyclean : config-clean
 #****** FOLLOWING IS WRONG, NEEDS TO BE PER-SUBSYSTEM ******
 config-clean :
        $(RMN_) $(GSGEN)*.dev $(GSGEN)devs*.tr $(GSGEN)gconfig*.h
-       $(RMN_) $(GSGEN)gconfx*.h $(GSGEN)j*.h
+       $(RMN_) $(GSGEN)gconfx*.h $(GSGEN)j*.h $(GSGEN)tif*.h
        $(RMN_) $(GSGEN)c*.tr $(GSGEN)o*.tr $(GSGEN)l*.tr
 
 # Macros for constructing the *.dev files that describe features and


Somebody else can review and commit.
Comment 2 Alex Cherepanov 2010-07-23 20:02:32 UTC
The patch has been committed as a rev. 11540.