initial import from Debian
version: 14.3.0-5 commit: bee30ab0fff2fd6af94c62376c8aa4221bb831e0
This commit is contained in:
12
debian/dh_doclink
vendored
Executable file
12
debian/dh_doclink
vendored
Executable file
@@ -0,0 +1,12 @@
|
||||
#! /bin/sh
|
||||
|
||||
pkg=`echo $1 | sed 's/^-p//'`
|
||||
target=$2
|
||||
|
||||
[ -d debian/$pkg/usr/share/doc ] || mkdir -p debian/$pkg/usr/share/doc
|
||||
if [ -d debian/$pkg/usr/share/doc/$p -a ! -h debian/$pkg/usr/share/doc/$p ]
|
||||
then
|
||||
echo "WARNING: removing doc directory $pkg"
|
||||
rm -rf debian/$pkg/usr/share/doc/$pkg
|
||||
fi
|
||||
ln -sf $target debian/$pkg/usr/share/doc/$pkg
|
Reference in New Issue
Block a user