3 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
4 export DEB_CFLAGS_MAINT_APPEND = -Wall
10 override_dh_auto_configure:
11 dh_auto_configure -- \
12 -DCMAKE_INSTALL_DATAROOTDIR="share/vym" \
13 -DCMAKE_INSTALL_MANDIR="share/man/man1" \
14 -DCMAKE_INSTALL_DOCDIR="share/doc/vym"
16 override_dh_auto_install:
17 dh_auto_install --destdir=debian/vym/
18 # create a link to use the vym icon in the hicolor default theme
19 # for .vym files matched by the mime type
20 ln -s ../apps/vym.png debian/vym/usr/share/icons/hicolor/48x48/mimetypes/application-x-vym.png
22 # prevent compression of pdf documentation