Reorganizing the repository: swapping out what was HEAD (the old 3.1 branch)
[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 \
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