| 1 | #!/usr/bin/make -f |
| 2 | #DH_VERBOSE = 1 |
| 3 | |
| 4 | # see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/* |
| 5 | DPKG_EXPORT_BUILDFLAGS = 1 |
| 6 | include /usr/share/dpkg/default.mk |
| 7 | |
| 8 | # see FEATURE AREAS in dpkg-buildflags(1) |
| 9 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 10 | |
| 11 | # see ENVIRONMENT in dpkg-buildflags(1) |
| 12 | # package maintainers to append CFLAGS |
| 13 | export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic |
| 14 | # package maintainers to append LDFLAGS |
| 15 | #export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed |
| 16 | |
| 17 | %: |
| 18 | dh $@ |
| 19 | |
| 20 | override_dh_auto_configure: |
| 21 | -test -f final/font/fonts.alias && cp final/font/fonts.alias final/font/xfonts-finalcut-newfont.alias || true |
| 22 | dh_auto_configure |
| 23 | |
| 24 | override_dh_auto_clean: |
| 25 | -test -f final/font/xfonts-finalcut-newfont.alias && rm final/font/xfonts-finalcut-newfont.alias |
| 26 | dh_auto_clean |
| 27 | |
| 28 | #override_dh_fixperms: |
| 29 | # dh_fixperms |
| 30 | # find debian/ -name 'COPYING*gz' -exec rm {} \; |
| 31 | # cd debian/libfinal-examples/usr/share/doc/libfinal/examples && chmod +x 7segment background-color busy calculator checklist choice dialog event-log fullwidth-character hello input-dialog keyboard listbox listview mandelbrot menu mouse opti-move rotozoomer scrollview string-operations term-attributes termcap timer transparent treeview ui watch windows |
| 32 | |
| 33 | #override_dh_strip: |
| 34 | # dh_strip |
| 35 | # cd debian/libfinal-examples/usr/share/doc/libfinal/examples && strip 7segment background-color busy calculator checklist choice dialog event-log fullwidth-character hello input-dialog keyboard listbox listview mandelbrot menu mouse opti-move rotozoomer scrollview string-operations term-attributes termcap timer transparent treeview ui watch windows |
| 36 | |
| 37 | override_dh_missing: |
| 38 | dh_missing --list-missing |
| 39 | |
| 40 | override_dh_compress: |
| 41 | dh_compress -X.cpp |
| 42 | # -X7segment -Xbackground-color -Xbusy -Xcalculator -Xchecklist -Xchoice -Xdialog -Xevent-log -Xfullwidth-character -Xhello -Xinput-dialog -Xkeyboard -Xlistbox -Xlistview -Xmandelbrot -Xmenu -Xmouse -Xopti-move -Xrotozoomer -Xscrollview -Xstring-operations -Xterm-attributes -Xtermcap -Xtimer -Xtransparent -Xtreeview -Xui -Xwatch -Xwindows |