File: step340.cmd

package info (click to toggle)
debmake-doc 1.17-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 24,612 kB
  • sloc: makefile: 768; sh: 690; ansic: 114; python: 99; sed: 16
file content (11 lines) | stat: -rwxr-xr-x 436 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
# This is cheating :-) dpkg-source isn't easy
echo " \$ dpkg-source --commit . 000-prefix-usr.patch"
echo " ... edit the DEP-3 patch header with editor"
# But in reality, use quilt to record.
dquilt refresh >/dev/null
dquilt header -a >/dev/null <<EOF
Description: set prefix=/usr patch
Author: Osamu Aoki <osamu@debian.org>
EOF
# dpkg-source doesn't add ===== line, so fake it
sed -i -e 's/^=*$//g' debian/patches/000-prefix-usr.patch