1
0
mirror of https://github.com/osmarks/ngircd.git synced 2024-12-13 02:10:27 +00:00

configure: Only link "contrib/Debian" if it exists

This isn't the case on "VPATH builds", for example.
This commit is contained in:
Alexander Barton 2014-01-26 23:40:58 +01:00
parent 4cb36e370e
commit 14a84dfca5

View File

@ -676,7 +676,9 @@ if test $? -eq 0; then
# Generate debian/ link if the dpkg command exists
# (read: if we are running on a debian compatible system)
echo "creating Debian-specific links ..."
test -f debian/rules || ln -s contrib/Debian debian
if test ! -f debian/rules -a -f contrib/Debian/rules; then
ln -s contrib/Debian debian
fi
fi
# -- Result --