| 1 |
#!/usr/bin/make -f |
| 2 |
# See debhelper(7) (uncomment to enable) |
| 3 |
# output every command that modifies files on the build system. |
| 4 |
#export DH_VERBOSE = 1 |
| 5 |
|
| 6 |
# Security Hardening |
| 7 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 8 |
export DEB_CPPFLAGS_MAINT_APPEND = -fPIC |
| 9 |
export DEB_LDFLAGS_MAINT_APPEND = -fPIC |
| 10 |
|
| 11 |
include /usr/share/dpkg/pkg-info.mk |
| 12 |
export DEB_VERSION_UPSTREAM |
| 13 |
|
| 14 |
override_dh_auto_configure: |
| 15 |
dh_auto_configure -- \ |
| 16 |
-DENABLE_STATIC=NO |
| 17 |
|
| 18 |
override_dh_install: |
| 19 |
rm -f debian/tmp/usr/share/doc/libcorkipset/html/.buildinfo |
| 20 |
cd obj-$(DEB_TARGET_GNU_TYPE); \ |
| 21 |
for bin in ipsetbuild ipsetcat ipsetdot; do \ |
| 22 |
help2man -N -n "utility of libcorkipset library" \ |
| 23 |
--version-string="$(DEB_VERSION)" -o $$bin.1 src/$$bin; \ |
| 24 |
done |
| 25 |
dh_install |
| 26 |
|
| 27 |
override_dh_installdocs: |
| 28 |
dh_installdocs -X.gitignore |
| 29 |
|
| 30 |
%: |
| 31 |
dh $@ |