From: Victor Martinez Date: Tue, 9 Mar 2010 10:11:11 +0000 (+0000) Subject: Makefile: fixed check for ubuntu/debian to add lacl. X-Git-Url: http://gitweb/?a=commitdiff_plain;h=51d5312b24ce6645705670c94f1bc3ba4cf24750;p=pkgutils-cross.git Makefile: fixed check for ubuntu/debian to add lacl. --- diff --git a/Makefile b/Makefile index 29d6927..fffe4f8 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ all: src/pkgmk.conf src/pkgmk pkginfo pkgadd src/pkgmk: - @if grep -e ubuntu /proc/version >/dev/null; then \ + @if [ -f /etc/debian_version -o -f /etc/debian_release -o -f /etc/lsb-release ]; then \ make -C src LDFLAGS="-static -larchive -lz -lacl"; \ else \ make -C src; \