Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 DH_VERBOSE = 1
4
5 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
6
7 %:
8 dh $@
9
10 override_dh_auto_configure:
11
12 # Disable options that are used in some non-package builds
13 dh_auto_configure -- --disable-symlink --disable-desktop --disable-install_docs --without-builtin_bzip2
14
15 override_dh_compress:
16 # Prevent one of the F1-help files being compressed
17 dh_compress --exclude=.hhc
18
19 override_dh_install:
20 # Move the .desktop file to the correct location
21 dh_install
22 (cd debian/4pane/usr/share && mkdir -p applications && mv 4Pane/rc/4Pane.desktop applications)
23
24 override_dh_installdocs:
25 # Install the F1-help files to doc/html/
26 dh_installdocs
27 mkdir -p debian/4pane/usr/share/doc/4pane/html
28 cp -Rf doc/* debian/4pane/usr/share/doc/4pane/html