Hi all, Been building a few debian packages - found a minor bug in process (I think). The Makefile.in file currently builds a Makefile which when you distclean removes config.guess and config.sub. I believe this is incorrect - ie: try running a ./configure after a make distclean (trivial patch attached).
As a result shouldn't need the cp config.sub, config.guess in debian/rules - no harm in leaving as is... but attached patch for completeness. Cheers, Alan -- Alan McNatty <[EMAIL PROTECTED]>
Index: Makefile.in =================================================================== RCS file: /home/cvs/gateway/Makefile.in,v retrieving revision 1.65 diff -u -r1.65 Makefile.in --- Makefile.in 7 Mar 2003 10:49:32 -0000 1.65 +++ Makefile.in 25 Mar 2003 01:06:46 -0000 @@ -294,7 +294,7 @@ rm -f $(benchoutputs) distclean: clean - rm -f Makefile config.h config.cache config.log config.status .depend config.sub config.guess + rm -f Makefile config.h config.cache config.log config.status .depend nag: utils/find-long-lines
Index: debian/rules =================================================================== RCS file: /home/cvs/gateway/debian/rules,v retrieving revision 1.11 diff -u -r1.11 rules --- debian/rules 14 Feb 2003 22:28:50 -0000 1.11 +++ debian/rules 25 Mar 2003 01:10:32 -0000 @@ -55,13 +55,6 @@ # Add here commands to clean up after the build process. -$(MAKE) distclean -ifneq "$(wildcard /usr/share/misc/config.sub)" "" - cp -f /usr/share/misc/config.sub config.sub -endif -ifneq "$(wildcard /usr/share/misc/config.guess)" "" - cp -f /usr/share/misc/config.guess config.guess -endif - dh_clean