| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
SHELL := sh -e |
| 4 |
|
| 5 |
%: |
| 6 |
dh ${@} |
| 7 |
|
| 8 |
override_dh_auto_install: |
| 9 |
dh_auto_install -- DESTDIR=$(CURDIR)/debian/bfh-base-system |
| 10 |
|
| 11 |
execute_after_dh_auto_install: |
| 12 |
# shutdown |
| 13 |
mkdir -p debian/bfh-container/usr/sbin |
| 14 |
for FILE in halt poweroff reboot shutdown coldreboot; \ |
| 15 |
do \ |
| 16 |
cp debian/local/shutdown debian/bfh-container/usr/sbin/$${FILE}; \ |
| 17 |
done |
| 18 |
|
| 19 |
mkdir -p debian/bfh-container/usr/share/container |
| 20 |
cp debian/local/shutdown.txt debian/bfh-container/usr/share/container |
| 21 |
|
| 22 |
# removing useless files |
| 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 |