debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | ifneq (,$(filter debug,$(DEB_BUILD_OPTIONS))) |
| 4 | DEB_CONFIGURE_EXTRA_FLAGS += --with-debug |
| 5 | endif |
| 6 | |
| 7 | %: |
| 8 | dh $@ |
| 9 | |
| 10 | override_dh_clean: |
| 11 | dh_clean |
| 12 | find . -name 'Makefile.in' -delete |
| 13 | rm -rf lib/Makefile configure lib/stamp-h1 lib/config.h src/config.h.in |
| 14 | |
| 15 | override_dh_auto_configure: |
| 16 | dh_auto_configure -- --with-curses-lib=/usr/lib/`dpkg-architecture -qDEB_HOST_MULTIARCH` |
| 17 | |
| 18 | override_dh_installchangelogs: |
| 19 | dh_installchangelogs NEWS |