aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorroot <root@f38db490-d61c-443f-a65b-d21fe96a405b>2006-03-03 18:04:19 +0000
committerroot <root@f38db490-d61c-443f-a65b-d21fe96a405b>2006-03-03 18:04:19 +0000
commit2ea01b7d4a31e0c7c3b9cfb28f9cca1e895ecdf3 (patch)
tree3364bc4b351d3054b786068b623f5c64b410baba /Makefile
parent215048a8e1dc2dd263f601bda718d659aae7c3ee (diff)
automerge commit
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2-netsec@11745 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 28c76cf94..a238a971a 100644
--- a/Makefile
+++ b/Makefile
@@ -215,10 +215,12 @@ ifeq ($(OSARCH),Linux)
endif
GREP=grep
+ID=id
ifeq ($(OSARCH),SunOS)
GREP=/usr/xpg4/bin/grep
M4=/usr/local/bin/m4
+ ID=/usr/xpg4/bin/id
endif
INCLUDE+=-Iinclude -I../include
@@ -543,7 +545,7 @@ clean:
$(MAKE) -C stdtime clean
datafiles: all
- if [ x`id -un` = xroot ]; then sh mkpkgconfig $(DESTDIR)/usr/lib/pkgconfig; fi
+ if [ x`$(ID) -un` = xroot ]; then sh mkpkgconfig $(DESTDIR)/usr/lib/pkgconfig; fi
mkdir -p $(DESTDIR)$(ASTVARLIBDIR)/sounds/digits
mkdir -p $(DESTDIR)$(ASTVARLIBDIR)/sounds/priv-callerintros
for x in sounds/digits/*.gsm; do \