On Fri, Feb 08, 2008 at 07:32:18PM +0900, Michal ??iha?? wrote:
> No you should not change orig.tar.gz, it should be exactly the same as
> upstream provides (unless you have good reason to do so). Just delete
> them in clean under same condition you use for copying them
> from /usr/share, this way the change won't be present in diff.

How about

        * build-depend on autotools-dev
        * move the upstream config.guess and config.sub to
          config.{guess,sub}.upstream in the configure target
        * copy the guess/sub from the autotools-dev location into the
          build tree, again in the configure target
        * if the *upstream files exist; move them back over sub/guess in
          the clean target

That way you don't modify the orig tarball; you're guaranteed to have an
appropriate and up-to-date sub/guess; the unpacked source is back to
pristine upstream after the make clean target, which is particularly
nice if you have your tree in a VCS and don't want to keep filtering the
sub/guess changes out of commits.

-- 
Jon Dowland


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to