debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 4 | export DEB_CFLAGS_MAINT_APPEND = -Wall |
| 5 | |
| 6 | %: |
| 7 | dh $@ |
| 8 | |
| 9 | override_dh_auto_configure: |
| 10 | dh_auto_configure -- --enable-static --enable-shared \ |
| 11 | --with-cfitsio-include=/usr/include \ |
| 12 | --with-cfitsio-libdir=/usr/lib |
| 13 | |
| 14 | override_dh_auto_build-indep: |
| 15 | $(MAKE) docs |
| 16 | $(MAKE) -C latex |
| 17 | |
| 18 | execute_after_dh_auto_install: |
| 19 | chrpath -d $(CURDIR)/debian/tmp/usr/lib/*/libCCfits.so.* |