File: step310.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 301 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
CD ${PROJECT}
cd ${PROJECT}
# This is cheating ;-)
: > debian/patches/series
dquilt new 000-prefix-usr.patch >/dev/null
dquilt add Makefile >/dev/null
# Pretend to edit Makefile
echo " \$ vim Makefile"
echo " ... hack, hack, hack, ..."
sed -i -e 's/\/usr\/local/\/usr/' Makefile
L "head -n1 Makefile"