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 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
|
$ dquilt new 000-prefix-usr.patch
Patch debian/patches/000-prefix-usr.patch is now on top
$ dquilt add Makefile
File Makefile added to patch debian/patches/000-prefix-usr.patch
... hack, hack, hack, ...
$ head -1 Makefile
prefix = /usr
$ dquilt refresh
Refreshed patch debian/patches/000-prefix-usr.patch
$ dquilt header -e --dep3
... edit the DEP-3 patch header with editor
$ tree -a
.
├── .pc
│ ├── .quilt_patches
│ ├── .quilt_series
│ ├── .version
│ ├── 000-prefix-usr.patch
│ │ ├── .timestamp
│ │ └── Makefile
│ └── applied-patches
├── Makefile
├── README.md
├── debian
│ ├── README.Debian
│ ├── README.source
│ ├── changelog
│ ├── clean
│ ├── control
│ ├── copyright
│ ├── dirs
│ ├── gbp.conf
│ ├── install
│ ├── links
│ ├── patches
│ │ ├── 000-prefix-usr.patch
│ │ └── series
│ ├── rules
│ ├── salsa-ci.yml
│ ├── source
│ │ ├── format
│ │ ├── local-options.ex
│ │ └── local-patch-header.ex
│ ├── tests
│ │ └── control
│ ├── upstream
│ │ └── metadata
│ └── watch
└── src
└── hello.c
9 directories, 29 files
$ cat debian/patches/series
000-prefix-usr.patch
$ cat debian/patches/000-prefix-usr.patch
Description: set prefix=/usr patch
Author: Osamu Aoki <osamu@debian.org>
Index: debhello-0.0/Makefile
===================================================================
--- debhello-0.0.orig/Makefile
+++ debhello-0.0/Makefile
@@ -1,4 +1,4 @@
-prefix = /usr/local
+prefix = /usr
all: src/hello
|