diff options
author | P. 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) |
commit | 3bd0e72328c5711bc83d2927f032febe41286da2 (patch) | |
tree | c163900ddcd5697b99ced2f855d8d592396b6608 /src | |
parent | 712898a34efb1f0dcb1735e023dba2f9770c3e30 (diff) |
Install distribution changelog to changelog.dist.
Diffstat (limited to 'src')
-rw-r--r-- | src/oh-installdocs | 4 |
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 |