aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-03-03 17:15:51 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-03-03 17:15:51 +0000
commitfb3a3671fcc59d68a43385ea64b45229b71bc412 (patch)
tree9174eb6ef74ec7fa7ec418723f47811054f03df2 /Makefile
parentfc4d05ac2b7b22ebc3f57ca535ad59349a4cb0b6 (diff)
Merged revisions 11715 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r11715 | tilghman | 2006-03-03 11:13:37 -0600 (Fri, 03 Mar 2006) | 2 lines Bug 6638 - Solaris is starting to remind me of RedHat... ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@11716 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 6037dea8b..0b3d88194 100644
--- a/Makefile
+++ b/Makefile
@@ -225,10 +225,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
@@ -554,7 +556,7 @@ clean: clean-depend
$(MAKE) -C stdtime clean
datafiles: all
- if [ x`id -un` = xroot ]; then sh build_tools/mkpkgconfig $(DESTDIR)/usr/lib/pkgconfig; fi
+ if [ x`$(ID) -un` = xroot ]; then sh build_tools/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 \