X-Git-Url: https://git.sven.stormbind.net/?a=blobdiff_plain;f=debian%2Frules;h=09b9c94913784f2d6790f43b9dde46e7e3acb36e;hb=64c3e72ec68c7c2b102f87f52b915630fe56cf3e;hp=4c0d3dd68fb6badc395cd33e424d44fb6ebb5719;hpb=d732af302a16c78123442a18b4a3e4cd1fd74da4;p=sven%2Fvym.git diff --git a/debian/rules b/debian/rules index 4c0d3dd..09b9c94 100755 --- a/debian/rules +++ b/debian/rules @@ -1,7 +1,5 @@ #!/usr/bin/make -f -DEB_COMPRESS_EXCLUDE = vym.pdf - export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_CFLAGS_MAINT_APPEND = -Wall export QT_SELECT = 5 @@ -10,8 +8,17 @@ export QT_SELECT = 5 dh $@ override_dh_auto_configure: - dh_auto_configure -- \ - -DCMAKE_INSTALL_DATAROOTDIR="share/vym" \ - -DCMAKE_INSTALL_MANDIR="share/man/man1" \ - -DCMAKE_INSTALL_DOCDIR="share/vym" + dh_auto_configure -- \ + -DCMAKE_INSTALL_DATAROOTDIR="share/vym" \ + -DCMAKE_INSTALL_MANDIR="share/man/man1" \ + -DCMAKE_INSTALL_DOCDIR="share/doc/vym" + +override_dh_auto_install: + dh_auto_install --destdir=debian/vym/ + # create a link to use the vym icon in the hicolor default theme + # for .vym files matched by the mime type + ln -s ../apps/vym.png debian/vym/usr/share/icons/hicolor/48x48/mimetypes/application-x-vym.png +# prevent compression of pdf documentation +override_dh_compress: + dh_compress -X.pdf