chiark / gitweb /
Don't gzip the complement PDF file
authorBen Harris <bjh21@bjh21.me.uk>
Sat, 12 Oct 2024 18:00:13 +0000 (19:00 +0100)
committerBen Harris <bjh21@bjh21.me.uk>
Sun, 13 Oct 2024 00:26:51 +0000 (01:26 +0100)
Debian policy requires compressing only text files in /usr/share/doc.
PDF files are not required to be compressed, and have internal
compression anyway.  While Evince handles gzipped PDF acceptably,
other tools such as Firefox do not.

debian/rules

index cbe925d7587131c8ec8761915930894c60c096fd..2cbd511359b908dafa82cfefd08fa64b8d9125ab 100755 (executable)
@@ -1,3 +1,6 @@
 #!/usr/bin/make -f
 %:
        dh $@
+
+override_dh_compress:
+       dh_compress -X.pdf