Squirrel Logo

Makepatch

Johan Vromans
Software & Tools


makepatch is a nifty tool that allows you to create a single patch file (input for Larry Wall's patch program) from two directory hierarchies. A mandatory tool if you have to maintain software packages. It is written in Perl, of course.

Features of this utility include:

  • Recursive descend through sub-directories.
  • Generation of commands to remove obsolete files.
  • Automatic handling of the patchlevel.h file first.
  • Automatic inclusion of Index: and Prereq: lines.
  • Ability to utilize specified manifest files.
  • Dedicated applypatch program can be used to do the patching, for improved verification and robustness.
  • Patch data is more reliable by relocating to the current directory.
  • Sources trees can come from archives, e.g. .tar.gz files.

Here's an article I wrote for The Perl Journal about makepatch.

Current version
2.02
Archived
CPAN sites. The MetaCPAN search engine will find it for you.


© Copyright 2003-2018 Johan Vromans. All Rights Reserved.
software/sw_makepatch.html last modified 18:30:45 02-Oct-2006