X-Git-Url: https://git.sven.stormbind.net/?a=blobdiff_plain;f=debian%2Frules;h=5d3420530873106200703b96e1ced09a1f1b81ad;hb=257672a79ebc20f4f011d821966a97cadd2050de;hp=fee12e1666afe21f505b1e0f616bfd844bd349ea;hpb=c6d44816dc0473a843438732db03fa79a4f2d221;p=sven%2Fvym.git diff --git a/debian/rules b/debian/rules index fee12e1..5d34205 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 @@ -13,5 +11,15 @@ override_dh_auto_configure: dh_auto_configure -- \ -DCMAKE_INSTALL_DATAROOTDIR="share/vym" \ -DCMAKE_INSTALL_MANDIR="share/man/man1" \ - -DCMAKE_INSTALL_DOCDIR="share/vym" + -DCMAKE_INSTALL_DOCDIR="share/doc/vym" + +override_dh_auto_install: + dh_auto_install --destdir=debian/vym/ + # remove wrongly placed manpage + rm debian/vym/usr/share/doc/vym/doc/vym.1.gz + # remove installed lincense file + rm debian/vym/usr/share/doc/vym/LICENSE.txt +# prevent compression of pdf documentation +override_dh_compress: + dh_compress -X.pdf