39683dcfc2cce88748f9ae60335b2e532ab6cca5
[privoxy.git] / debian / patches / 10_backup_doc.dpatch
1 #! /bin/sh -e
2 ## 10_backup_doc.dpatch by Roland Rosenfeld <roland@debian.org>
3 ##
4 ## All lines beginning with `## DP:' are a description of the patch.
5 ## DP: Backup the upstream versions of all generated documentation
6
7 dpatch_patch ()
8 {
9     tar cf debian/patched/doc.bak.tar \
10         doc/source doc/text doc/webserver doc/pdf \
11         INSTALL README AUTHORS privoxy.1
12 }
13
14 dpatch_unpatch ()
15 {
16         tar xf debian/patched/doc.bak.tar
17 }
18
19 DPATCH_LIB_NO_DEFAULT=1
20
21 . /usr/share/dpatch/dpatch.lib.sh