summaryrefslogtreecommitdiff
path: root/pkgtools/pkgdiff/files/mkpatches.0
blob: 1b4fe532c03ed1c98a539c7a53b0cee3d8f413fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
MKPATCHES(1)            NetBSD General Commands Manual            MKPATCHES(1)

NNAAMMEE
     mmkkppaattcchheess - create patch files appropriate for pkgsrc

SSYYNNOOPPSSIISS
     mmkkppaattcchheess [--dd _o_u_t_p_u_t_-_d_i_r_e_c_t_o_r_y]

DDEESSCCRRIIPPTTIIOONN
     mmkkppaattcchheess is a perl script that simplifies creating patches from a
     changed work tree if for each changed file the original was kept with an
     added extension ``.orig''.

     mmkkppaattcchheess must be called from the package's main directory, that is
     _$_{_P_K_G_S_R_C_}_/_c_a_t_e_g_o_r_y_/_p_r_o_g_r_a_m.  It then proceeds to find all files that
     match the pattern ``*.orig''.  Each of these is then compared to the
     changed file of the same name (with no ``.orig'' extension) using
     pkgdiff(1).

     The resulting patches are saved in the directory _$_{_W_R_K_D_I_R_}_/_._n_e_w_p_a_t_c_h_e_s or
     the directory specified after --dd, and can be easily compared to the cur-
     rently existing set using patchdiff(1).

SSEEEE AALLSSOO
     patchdiff(1), pkgdiff(1)

NetBSD 1.6                       June 25, 2000                      NetBSD 1.6