From 4de804d15758d50716b3b9457209fc598819e0b0 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Tue, 6 Feb 2007 22:36:13 +0000 Subject: * Makepkg updates, and small bugfix on man page compression. * Change libtool default to makepkg2 behavior. * Other small changes. --- scripts/makepkg | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/makepkg b/scripts/makepkg index dc186d2a..d61335df 100755 --- a/scripts/makepkg +++ b/scripts/makepkg @@ -862,7 +862,8 @@ if [ "$(check_option docs)" = "n" ]; then fi # move /usr/share/man files to /usr/man -if [ -d pkg/usr/share/man ]; then +if [ -d $startdir/pkg/usr/share/man ]; then + cd $startdir mkdir -p pkg/usr/man cp -a pkg/usr/share/man/* pkg/usr/man/ rm -rf pkg/usr/share/man @@ -964,6 +965,13 @@ for it in "${backup[@]}"; do echo "backup = $it" >>.PKGINFO done +# TODO maybe remove this at some point +# warn if license array is not present or empty +if [ "$license" = "" ]; then + warning "Please add a license line to your $BUILDSCRIPT!" + plain "example for GPL'ed software: license=('GPL')." +fi + # check for an install script if [ "$install" != "" ]; then msg "Copying install script..." -- cgit v1.2.3-24-g4f1b