aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-03-03 17:13:37 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-03-03 17:13:37 +0000
commit4c3aabe7fa10b00e7b50f6a83978b8b8b93050f7 (patch)
tree4d7940c62ec6dba11fc0a4ced26beb506ae111da /Makefile
parent686015abcd50110bbc140a807d4ced21e4fe1d82 (diff)
Bug 6638 - Solaris is starting to remind me of RedHat...
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@11715 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 5f90fe6a5..5afc43a56 100644
--- a/Makefile
+++ b/Makefile
@@ -212,10 +212,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
@@ -539,7 +541,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 \