From 7510588256cfeb4d9adef7237467de78362c5c9e Mon Sep 17 00:00:00 2001 From: "Tom G. Christensen" Date: Thu, 17 Apr 2008 19:14:55 +0000 Subject: [PATCH] The std. now suggests that man and info dirs should be under share. Only add one set of relnotes to each package. --- buildpkg.packaging.solaris | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/buildpkg.packaging.solaris b/buildpkg.packaging.solaris index 53f8338..975fa8e 100644 --- a/buildpkg.packaging.solaris +++ b/buildpkg.packaging.solaris @@ -70,6 +70,10 @@ gzman=0 # If not using gcc then please set this to 1 suncc=0 +# Try and get it right from the beginning on Solaris +_mandir=share/man +_infodir=share/info + # Default configure args configure_args='--prefix=$prefix --mandir=${prefix}/${_mandir} --infodir=${prefix}/${_infodir}' @@ -410,7 +414,8 @@ auto_rel() ${metadir}/${rn} > "$relmetadir/${secname}.txt" ### Add the relnotes to the prototype file - add_proto $defaultperms $defaultuid $defaultgid "relnotes" $secname + add_dir $defaultperms $defaultuid $defaultgid "relnotes" $secname + add_proto $defaultperms $defaultuid $defaultgid "relnotes/$secname-$version-$pkgver" $secname else echo "auto_rel: No release notes found!" fi