Skip to content

Commit

Permalink
debian: Uninstall PDF files (DFSG-nonfree)
Browse files Browse the repository at this point in the history
Because they can't be regenerated from (missing) sources

Relate-to: theupdateframework#263 (comment)
Cc: <@tumbleweed>
Signed-off-by: Philippe Coval <[email protected]>
  • Loading branch information
rzr committed May 8, 2021
1 parent b3bc80b commit 3c4f9b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions debian/python-tuf-doc.doc-base
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,5 @@ Index: /usr/share/doc/python3-tuf/docs/GETTING_STARTED.rst
Files: /usr/share/doc/python3-tuf/docs/*.md
/usr/share/doc/python3-tuf/docs/*.rst
/usr/share/doc/python3-tuf/docs/*.txt
/usr/share/doc/python3-tuf/docs/adr/*.md

Format: PDF
Files: /usr/share/doc/python3-tuf/docs/papers/*.pdf.gz
2 changes: 1 addition & 1 deletion debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ override_dh_installdocs:
dh_installdocs --remaining-packages
ln -fs ${PYBUILD_NAME}-spec.md \
debian/python-${PYBUILD_NAME}-doc/usr/share/doc/python3-${PYBUILD_NAME}/docs/${PYBUILD_NAME}-spec.txt

rm -rf debian/python-${PYBUILD_NAME}-doc/usr/share/doc/python3-${PYBUILD_NAME}/docs/papers

0 comments on commit 3c4f9b6

Please sign in to comment.