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

Re: debhelper package and excluding config.guess config.sub from diff



Hi

Dne Wed, 22 Oct 2008 10:22:31 +0300
Jari Aalto <jari.aalto@cante.net> napsal(a):

> [Please keep CC]
> 
> The debian/rules copy the recent config.* files:
> 
>     clean: unpatch
>             dh_testdir
>             dh_testroot
>             rm -f build-stamp
> 
>             # Add here commands to clean up after the build process.
>             [ ! -f $(MAKE) ] || $(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
> 
> The problem is that these end up in the *.diff.gz. I'd rather keep the
> diff clean for easier inspection.

Delete files in clean target and copy them in place in build target.
This way you will use up to date version and they will not show in diff.

-- 
	Michal Čihař | http://cihar.com | http://blog.cihar.com

Attachment: signature.asc
Description: PGP signature


Reply to: