chiark
/
gitweb
/
~bjharris
/
bedstead-debian.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e092de
)
Don't gzip the complement PDF file
author
Ben Harris
<bjh21@bjh21.me.uk>
Sat, 12 Oct 2024 18:00:13 +0000
(19:00 +0100)
committer
Ben 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
patch
|
blob
|
history
diff --git
a/debian/rules
b/debian/rules
index cbe925d7587131c8ec8761915930894c60c096fd..2cbd511359b908dafa82cfefd08fa64b8d9125ab 100755
(executable)
--- a/
debian/rules
+++ b/
debian/rules
@@
-1,3
+1,6
@@
#!/usr/bin/make -f
%:
dh $@
+
+override_dh_compress:
+ dh_compress -X.pdf