Another patch from Colin, providing a "make distclean" target in the
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 8 Jan 2009 18:21:33 +0000 (18:21 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 8 Jan 2009 18:21:33 +0000 (18:21 +0000)
autoconf makefile.

git-svn-id: svn://svn.tartarus.org/sgt/putty@8401 cda61777-01e9-0310-a592-d414129be87e

mkfiles.pl

index 0bbd566..835a940 100755 (executable)
@@ -1048,6 +1048,9 @@ if (defined $makefiles{'ac'}) {
     print $makefile_extra{'gtk'}->{'end'};
     print "\nclean:\n".
     "\trm -f *.o". (join "", map { " $_" } &progrealnames("X:U")) . "\n";
+    print "\ndistclean: clean\n".
+    "\t". &splitline("rm -f config.status config.cache config.log ".
+                    "configure.lineno config.status.lineno Makefile") . "\n";
     print "\nFORCE:\n";
     select STDOUT; close OUT;
 }