distclean target for winemaker

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The common make target 'distclean' is not present in projects
generated by winemaker. The purpose of this target is to return
a project to its 'pre-./configure' state.

Specifically the target removes config.*, Makefile, and Make.rules

ChangeLog:
add 'distclean' target to winemaker-generated projects

-- Jeff S

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
Index: tools/winemaker
===================================================================
RCS file: /home/wine/wine/tools/winemaker,v
retrieving revision 1.57
diff -u -r1.57 winemaker
--- tools/winemaker	6 Nov 2002 20:02:59 -0000	1.57
+++ tools/winemaker	12 Dec 2002 00:15:53 -0000
@@ -3085,6 +3085,7 @@
 CLEAN_FILES     = *.spec.c y.tab.c y.tab.h lex.yy.c \
                   core *.orig *.rej \
                   \\\#*\\\# *~ *% .\\\#*
+DISTCLEAN_FILES = config.* Makefile Make.rules
 
 # Implicit rules
 
@@ -3124,6 +3125,11 @@
 
 clean:: $(SUBDIRS:%=%/__clean__) $(EXTRASUBDIRS:%=%/__clean__)
 	$(RM) $(CLEAN_FILES) $(RC_SRCS:.rc=.res) $(OBJS) $(EXES:%.exe=%) $(EXES:%=%.so) $(EXES:%=%.spec.o) $(DLLS:%=%.so) $(DLLS:%=%.spec.o)
+
+# Rule for distcleaning
+
+distclean: clean
+	$(RM) $(DISTCLEAN_FILES)
 
 # Rules for installing
 


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux