mirror of
https://github.com/osmarks/ngircd.git
synced 2025-04-05 07:17:13 +00:00
configure: Only link "contrib/Debian" if it exists
This isn't the case on "VPATH builds", for example. (cherry picked from commit 14a84dfca57efeb744aa6219ca7776dc629871b7)
This commit is contained in:
parent
4286af08ce
commit
4525425879
@ -673,7 +673,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 --
|
||||
|
Loading…
x
Reference in New Issue
Block a user