From 3bd0e72328c5711bc83d2927f032febe41286da2 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Fri, 03 Feb 2012 13:55:55 -0500 Subject: Install distribution changelog to changelog.dist. --- 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 -- cgit v0.9.1