| 1 |
|
| 2 |
|
| 3 |
SHELL := sh -e |
| 4 |
|
| 5 |
%: |
| 6 |
dh ${@} |
| 7 |
|
| 8 |
override_dh_auto_install: |
| 9 |
dh_auto_install -- DESTDIR=$(CURDIR)/debian/progress-linux-base-system |
| 10 |
|
| 11 |
execute_after_dh_auto_install: |
| 12 |
|
| 13 |
mkdir -p debian/progress-linux-container/usr/sbin |
| 14 |
for FILE in halt poweroff reboot shutdown coldreboot; \ |
| 15 |
do \ |
| 16 |
cp debian/local/shutdown debian/progress-linux-container/usr/sbin/$${FILE}; \ |
| 17 |
done |
| 18 |
|
| 19 |
mkdir -p debian/progress-linux-container/usr/share/container |
| 20 |
cp debian/local/shutdown.txt debian/progress-linux-container/usr/share/container |
| 21 |
|
| 22 |
|
| 23 |
rm -f debian/tmp/usr/share/doc/*/CHANGELOG.txt |
| 24 |
rm -f debian/tmp/usr/share/doc/*/LICENSE.txt |
| 25 |
rm -f debian/tmp/usr/share/doc/*/VERSION.txt |