[PATCH] distclean fix

Jörg Sommer <[email protected]>
Newsgroups gmane.network.slrn.user
Message-ID <[email protected]>
#! /bin/sh /usr/share/dpatch/dpatch-run
## fix-make-distclean.dpatch by Jörg Sommer <[email protected]>
##
## DP: In the distclean target, the config.status file is removed before the 
## DP: call to the subdirecory happend. At least, po/Makefile needs this file

@DPATCH@

diff --git a/autoconf/Makefile.in b/autoconf/Makefile.in
index 53594c9..ffc2800 100644
--- a/autoconf/Makefile.in
+++ b/autoconf/Makefile.in
@@ -16,8 +16,8 @@ clean:
 	cd src; $(MAKE) clean
 #
 distclean:
-	/bin/rm -f *~ Makefile config.status config.log config.cache files.pck
 	cd src; $(MAKE) distclean
+	/bin/rm -f *~ Makefile config.status config.log config.cache files.pck
 #
 install:
 	cd src; $(MAKE) install

-- 
Die Erde ist das einzigste Irrenhaus, das von seinen eigenen Insassen
verwaltet wird.
                                                (U. Schmidt)

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.