]> git.sven.stormbind.net Git - sven/vym.git/commitdiff
Fix doc installation
authorSven Hoexter <sven@stormbind.net>
Fri, 3 May 2024 15:36:41 +0000 (17:36 +0200)
committerSven Hoexter <sven@stormbind.net>
Fri, 3 May 2024 15:36:41 +0000 (17:36 +0200)
debian/rules

index 65f92a2609bd9f77e5eeb633b5635a453870cacf..be5b725dc1039363713a628ec42bc92bca829fec 100755 (executable)
@@ -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
@@ -15,3 +13,11 @@ override_dh_auto_configure:
                -DCMAKE_INSTALL_MANDIR="share/man/man1" \
                -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
+
+# prevent compression of pdf documentation
+override_dh_compress:
+       dh_compress -X.pdf