From 51d5312b24ce6645705670c94f1bc3ba4cf24750 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Tue, 9 Mar 2010 10:11:11 +0000 Subject: [PATCH] Makefile: fixed check for ubuntu/debian to add lacl. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; \ -- 2.26.2