CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Makefile: fixed check for ubuntu/debian to add lacl.
authorVictor Martinez <pitillo@ono.com>
Tue, 9 Mar 2010 10:11:11 +0000 (10:11 +0000)
committerVictor Martinez <pitillo@ono.com>
Tue, 9 Mar 2010 10:11:11 +0000 (10:11 +0000)
Makefile

index 29d6927587da80222df0b248658180928ea05b41..fffe4f8653391e2386ef44a5a062c2ff18b00091 100644 (file)
--- 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; \