| 1 |
#!/usr/bin/make -f |
| 2 |
#export DH_VERBOSE = 1 |
| 3 |
|
| 4 |
include /usr/share/dpkg/default.mk |
| 5 |
export DEB_BUILD_MAINT_OPTIONS=hardening=+all |
| 6 |
|
| 7 |
%: |
| 8 |
dh $@ |
| 9 |
|
| 10 |
override_dh_auto_configure: |
| 11 |
dh_auto_configure -- -DCMAKE_POLICY_VERSION_MINIMUM=3.5 |
| 12 |
|
| 13 |
override_dh_installexamples: |
| 14 |
dh_installexamples |
| 15 |
# only install nominal.ini from the utils/ directory, but preserve |
| 16 |
# the directory structure (since demo scripts expect it) |
| 17 |
mkdir -p debian/hinge/usr/share/doc/hinge/examples/utils \ |
| 18 |
&& cp utils/nominal.ini debian/hinge/usr/share/doc/hinge/examples/utils |