(2.2) scons: use install to handle the man pages to fix a permission bug and prevent them in the future.

This commit is contained in:
Tilman Sauerbeck 2006-03-27 11:11:15 +00:00
parent 4a232f009a
commit 12496f1b5e
2 changed files with 5 additions and 5 deletions

View File

@ -273,5 +273,5 @@ drwxr-xr-x root/root usr/lib/scons/SCons/Tool/
-rw-r--r-- root/root usr/lib/scons/SCons/exitfuncs.pyc
drwxr-xr-x root/root usr/man/
drwxr-xr-x root/root usr/man/man1/
-r--r--r-- root/root usr/man/man1/scons.1.gz
-rw-r--r-- root/root usr/man/man1/scons.1.gz
-rw-r--r-- root/root usr/man/man1/sconsign.1.gz

View File

@ -8,11 +8,11 @@ version=0.96.1
release=1
source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.gz)
build () {
build() {
cd $name-$version
python setup.py install --prefix=/usr --root=$PKG
mkdir -p $PKG/usr/man/man1
cp scons.1 $PKG/usr/man/man1
cp sconsign.1 $PKG/usr/man/man1
install -d $PKG/usr/man/man1
install -m 644 scons{,ign}.1 $PKG/usr/man/man1
}