summaryrefslogtreecommitdiffstats
path: root/src/oh-installdocs
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-02-03 13:55:55 (EST)
committer P. J. McDermott <pjm@nac.net>2012-02-03 13:55:55 (EST)
commit3bd0e72328c5711bc83d2927f032febe41286da2 (patch)
treec163900ddcd5697b99ced2f855d8d592396b6608 /src/oh-installdocs
parent712898a34efb1f0dcb1735e023dba2f9770c3e30 (diff)
Install distribution changelog to changelog.dist.
Diffstat (limited to 'src/oh-installdocs')
-rw-r--r--src/oh-installdocs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/oh-installdocs b/src/oh-installdocs
index f29afa6..673b884 100644
--- a/src/oh-installdocs
+++ b/src/oh-installdocs
@@ -46,7 +46,9 @@ for pkgdir in *.data/; do
mkdir -p ${pkg}.data/usr/share/doc/${pkg}
[ ! -f ../copyright ] && error 'Missing "copyright" file'
[ ! -f ../changelog ] && error 'Missing "changelog" file'
- cp ../copyright ../changelog ${pkgdir}/usr/share/doc/${pkg} || \
+ cp ../copyright ${pkgdir}/usr/share/doc/${pkg}/copyright || \
+ error 'Cannot copy documentation files'
+ cp ../changelog ${pkgdir}/usr/share/doc/${pkg}/changelog.dist || \
error 'Cannot copy documentation files'
else
# Make dependent packages link to the providing package's documentation