[Top][All Lists]

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

Re: Proper way to make a patch against CVS source?

From: Derek R. Price
Subject: Re: Proper way to make a patch against CVS source?
Date: Fri, 31 Aug 2001 17:12:02 -0700

"Cameron, Steve" wrote:

> Hi,
> What's the proper way to make a patch file to
> CVS these days?
> I used to just do "cvs diff -uN > patchfile"
> But now that gives a patchfile with loads of files
> changed merely by the action of building CVS,
> (a little inconvenient, but perhaps my own fault,
> see below).
> All those */, aclocal.m4 stamp-vti
> I didn't touch.
> So should I do "make distclean" before making
> my patch, or make some other cleaning target?
> "distclean" seems like it does more than I would want.
> (What is the intended purpose of distclean?)

The reason for this is probably that your versions of automake and/or
autoconf are out of sync with mine and Larry's.  I've been mostly
keeping up with the latest automake betas and sometimes dev version of
late, so you might be able to sync that way.  There should be a final AM
release soon, so hopefully that will settle that for a while.

Other than that, `make distclean' wouldn't clean the regenerated
Makefile.ins.  The easiest thing to do might be to run `./
--noautoconf' before configuring and building for the first time.
Unless you change, acinclude.m4 or any of the
files, this should be fine.  If you change one of the above, some files
will need to be regenerated though the usual procedure seems to be
leaving them out of the patch and letting anyone who uses the patch
regenerate them.


Derek Price                      CVS Solutions Architect ( )
mailto:address@hidden         CollabNet ( )
We hold these truths to be self-evident, that all men are created equal; that
they are endowed by their Creator with inherent and inalienable rights; that
among these, are life, liberty, and the pursuit of happiness; that to secure
these rights, governments are instituted among men, deriving their just powers
from the consent of the governed; that whenever any form of government becomes
destructive of these ends, it is the right of the people to alter or abolish
it, and to institute new government, laying its foundation on such principles,
and organizing its powers in such form, as to them shall seem most likely to
effect their safety and happiness.

                        - Declaration of Independence,
                            as written by Thomas Jefferson, 1776

reply via email to

[Prev in Thread] Current Thread [Next in Thread]