Create a link for the OpenRA server manpage; compress the normal one
The command-line arguments of the openra-server executable are the same as for openra.
This commit is contained in:
@@ -31,6 +31,10 @@ sed "s|/usr/bin|/usr/games|g" "${DEB_BUILD_ROOT}/usr/games/openra" > temp
|
||||
mv -f temp "${DEB_BUILD_ROOT}/usr/games/openra"
|
||||
chmod 0755 "${DEB_BUILD_ROOT}/usr/games/openra"*
|
||||
|
||||
# Link and compress the man pages
|
||||
gzip -9n "${DEB_BUILD_ROOT}/usr/share/man/man6/openra.6"
|
||||
ln -s openra.6.gz "${DEB_BUILD_ROOT}/usr/share/man/man6/openra-server.6.gz"
|
||||
|
||||
# Put the copyright and changelog in /usr/share/doc/openra/
|
||||
mkdir -p "${DEB_BUILD_ROOT}/${DOCDIR}"
|
||||
cp copyright "${DEB_BUILD_ROOT}/${DOCDIR}/copyright"
|
||||
|
||||
Reference in New Issue
Block a user