| 1 |
|
| 2 |
|
| 3 |
export DH_VERBOSE = 1 |
| 4 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 5 |
export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic |
| 6 |
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 |
| 7 |
|
| 8 |
%: |
| 9 |
dh $@ |
| 10 |
|
| 11 |
override_dh_auto_build: |
| 12 |
dh_auto_build -- FULLVER=$(shell dpkg-parsechangelog -S version) |
| 13 |
|
| 14 |
override_dh_auto_install: |
| 15 |
dh_auto_install -- PREFIX=/usr \ |
| 16 |
INSDIR_DOC="debian/ble.sh/usr/share/doc/ble.sh/" \ |
| 17 |
INSDIR_LICENSE="debian/ble.sh/usr/share/doc/ble.sh/" |
| 18 |
find debian/tmp debian/ble.sh -type d -empty -delete |
| 19 |
|
| 20 |
execute_after_dh_install: |
| 21 |
rm -r debian/ble.sh/usr/share/blesh/contrib/airline/ |