| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
# see FEATURE AREAS in dpkg-buildflags(1) |
| 4 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 5 |
|
| 6 |
%: |
| 7 |
dh $@ |
| 8 |
|
| 9 |
override_dh_auto_configure: |
| 10 |
dh_auto_configure -- -Db_ndebug=true \ |
| 11 |
-Dasync_connect=true \ |
| 12 |
-Dcolors=true \ |
| 13 |
-Dchat_screen=true \ |
| 14 |
-Dcurses=ncursesw \ |
| 15 |
-Ddocumentation=auto \ |
| 16 |
-Dkey_screen=true \ |
| 17 |
-Dhelp_screen=true \ |
| 18 |
-Dhtml_manual=false \ |
| 19 |
-Dlibrary_screen=true \ |
| 20 |
-Dlyrics_screen=true \ |
| 21 |
-Dlyrics_plugin_dir="/usr/libexec/ncmpc/lyrics/" \ |
| 22 |
-Dlirc=enabled \ |
| 23 |
-Dlocale=enabled \ |
| 24 |
-Dmanual=true \ |
| 25 |
-Dmini=false \ |
| 26 |
-Dmouse=enabled \ |
| 27 |
-Dmultibyte=true \ |
| 28 |
-Dnls=enabled \ |
| 29 |
-Doutputs_screen=true \ |
| 30 |
-Dplaylist_editor=false \ |
| 31 |
-Dregex=enabled \ |
| 32 |
-Dsearch_screen=true \ |
| 33 |
-Dsong_screen=true |
| 34 |
|
| 35 |
override_dh_auto_install: |
| 36 |
dh_auto_install |
| 37 |
# Examples installed with dh_installexamples, cf. debian/ncmpc.examples |
| 38 |
rm debian/tmp/usr/share/doc/ncmpc/config.sample |
| 39 |
rm debian/tmp/usr/share/doc/ncmpc/keys.sample |
| 40 |
rm debian/tmp/usr/share/doc/ncmpc/ncmpc.lirc |
| 41 |
# Remove useless doc files |
| 42 |
rm debian/tmp/usr/share/doc/ncmpc/COPYING |
| 43 |
rm debian/tmp/usr/share/doc/ncmpc/NEWS |
| 44 |
|
| 45 |
override_dh_installchangelogs: |
| 46 |
dh_installchangelogs NEWS |
| 47 |
|
| 48 |
override_dh_installdocs: |
| 49 |
dh_installdocs -A AUTHORS |