winemaker: distclean target

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

 



Now that the big patch is in, here are some smaller bits and pieces.

Changelog:

    Francois Gouget <fgouget@codeweavers.com>

  * tools/winemaker

    Add a 'distclean' target
    Only the toplevel Makefile needs a 'clean' target


-- 
Francois Gouget
fgouget@codeweavers.com

Index: tools/winemaker
===================================================================
RCS file: /home/wine/wine/tools/winemaker,v
retrieving revision 1.54
diff -u -r1.54 winemaker
--- tools/winemaker	26 Sep 2002 03:20:59 -0000	1.54
+++ tools/winemaker	26 Sep 2002 21:26:32 -0000
@@ -1881,15 +1881,16 @@
     print FILEO "\t_list=\"$(EXES:%=%.so) \$(DLLS:%=%.so)\"; for i in \$\$_list; do \$(RM) \$(dlldir)/\$\$i;done\n";
   }
   print FILEO "\n";
-  print FILEO "clean::\n";
-  print FILEO "\t\$(RM)";
   if (@$project[$P_PATH] eq "") {
-      print FILEO " wineapploader";
-  }
-  if (@{@$project[$P_TARGETS]} > 0) {
-      print FILEO " \$(EXES)";
+      print FILEO "clean::\n";
+      print FILEO "\t\$(RM) wineapploader\n";
+      print FILEO "\n";
+      print FILEO "distclean: clean\n";
+      print FILEO "\t\$(RM) config.* Make.rules\n";
+      print FILEO "\t\$(RM) -r autom4te.cache\n";
+      print FILEO "\tfind . -name Makefile -exec \$(RM) {} \\;\n";
+      print FILEO "\n";
   }
-  print FILEO "\n\n";
 
   if (@{@$project[$P_TARGETS]} > 0) {
     print FILEO "### Target specific build rules\n\n";

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

  Powered by Linux