m4-patches
[Top][All Lists]
Advanced

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

Re: If make check fails


From: Akim Demaille
Subject: Re: If make check fails
Date: 29 Aug 2001 11:21:08 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Artificial Intelligence)

>>>>> "Gary" == Gary V Vaughan <address@hidden> writes:

Gary> While I agree that there is a need.  I don't think it is the job
Gary> of patch or diff to do this.  

Agreed.

Gary> I think all that is necessary is a program (maybe even a shell
Gary> script) to generate a patch, and roll it into a self executing
Gary> shar archive along with some extra commands to run -- maybe a
Gary> pre and post patch application script?

There is already something named 

MAKEPATCH(1)   User Contributed Perl Documentation   MAKEPATCH(1)

NAME
       makepatch - create script to update a source tree

SYNOPSIS
       makepatch [ options ] old-src new-src

Introduction
       Traditionally, source trees are updated with the patch
       program, processing patch information that is generated by
       the diff program.  Although diff and patch do a very good
       job at patching file contents, most versions do not handle
       creating and deleting files and directories, and adjusting
       of file modes and time stamps. Newer versions of diff and
       patch seem to be able to create files, and very new ver­
       sions of patch can remove files. But that's about it.

       Another typical problem is that patch kits are typically
       downloaded from the Internet, of transmitted via elec­
       tronic mail. It is often desirable to verify the correct­
       ness of a patch kit before even attempting to apply it.

       The makepatch package is designed to overcome these limi­
       tations.


but I don't like always having to learn new tools...  I should though.



reply via email to

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