File: step304.cmd

package info (click to toggle)
debmake-doc 1.14-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 7,256 kB
  • sloc: sh: 674; makefile: 469; python: 146; ansic: 114; sed: 16
file content (13 lines) | stat: -rwxr-xr-x 587 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
CD ${PROJECT}
cd ${PROJECT}
L "echo '000-prefix-usr.patch' >debian/patches/series"
echo " \$ vim ../000-prefix-usr.patch"
echo " ... hack, hack, hack, ..."
# add header
echo  "From: Osamu Aoki <osamu@debian.org>" > debian/patches/000-prefix-usr.patch
echo  "Description: set prefix=/usr patch" >> debian/patches/000-prefix-usr.patch
# Remove date from patch
cat ../000-prefix-usr.patch | sed -e 's/Makefile\t[23].*$/Makefile/' >>debian/patches/000-prefix-usr.patch
echo " \$ mv -f ../000-prefix-usr.patch debian/patches/000-prefix-usr.patch"
L "cat debian/patches/000-prefix-usr.patch"