Modification of official releases - creating patches with diff

If your modifications have been made to the source code of one of the official relax releases (for example 2.1.1) then the Unix command diff can be used to create a patch. A patch file is simply the output of the diff command run with the recursive flag and presented in the `unified' format. Therefore two directories need to be compared. If the original sources are located in the directory relax_orig and the modified sources in relax_mod then the patch can be created by typing


$ diff -ur relax_orig relax_mod > patch



The relax user manual (PDF), created 2016-10-28.