| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
export DEB_BUILD_MAINT_OPTIONS:=hardening=+all |
| 4 |
|
| 5 |
%: |
| 6 |
dh $@ |
| 7 |
|
| 8 |
override_dh_auto_configure: |
| 9 |
dh_auto_configure -- --with-example-dir=\$${prefix}/share/doc/grap/examples |
| 10 |
|
| 11 |
override_dh_auto_install: |
| 12 |
dh_auto_install |
| 13 |
sed -i -e "s#/usr/local/share/grap/grap.defines#/usr/share/grap/grap.defines#g;" debian/grap/usr/share/man/man1/grap.1 |
| 14 |
sed -i -e "s#/usr/local/share/examples/grap#/usr/share/doc/grap/examples#g;" debian/grap/usr/share/man/man1/grap.1 |
| 15 |
rm -f debian/grap/usr/share/doc/grap/COPYRIGHT |
| 16 |
rm -f debian/grap/usr/share/doc/grap/grap.man |