mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 04:11:08 +00:00
* Patch to Makefiles to allow a script to query the make envirnoment.
* contrib/scripts/astxs (The tool itself) * see bug 1329 -Anthony Minessale (anthm) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2702 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
10
Makefile
10
Makefile
@@ -429,7 +429,6 @@ webvmail:
|
||||
|
||||
mailbox:
|
||||
./contrib/scripts/addmailbox
|
||||
|
||||
|
||||
rpm: __rpm
|
||||
|
||||
@@ -442,7 +441,7 @@ __rpm: _version
|
||||
cp -f redhat/asterisk /tmp/asterisk/etc/rc.d/init.d/ ; \
|
||||
sed "s/^Version:.*/Version: $(RPMVERSION)/g" redhat/asterisk.spec > asterisk.spec ; \
|
||||
rpmbuild --rcfile /usr/lib/rpm/rpmrc:redhat/rpmrc -bb asterisk.spec
|
||||
|
||||
|
||||
progdocs:
|
||||
doxygen contrib/asterisk-ng-doxygen
|
||||
|
||||
@@ -454,7 +453,6 @@ config:
|
||||
install -m 755 init.asterisk /etc/init.d/asterisk; \
|
||||
fi
|
||||
|
||||
|
||||
dont-optimize:
|
||||
$(MAKE) OPTIMIZE= K6OPT= install
|
||||
|
||||
@@ -467,3 +465,9 @@ depend: .depend
|
||||
./mkdep ${CFLAGS} `ls *.c`
|
||||
|
||||
FORCE:
|
||||
|
||||
%_env:
|
||||
make -C $(shell echo $@ | /bin/sed "s/_env//g") env
|
||||
|
||||
env:
|
||||
/bin/env
|
||||
|
@@ -100,3 +100,6 @@ depend: .depend
|
||||
|
||||
.depend:
|
||||
../mkdep $(CFLAGS) `ls *.c`
|
||||
|
||||
env:
|
||||
/bin/env
|
||||
|
@@ -173,3 +173,6 @@ depend: .depend
|
||||
.depend:
|
||||
../mkdep $(CFLAGS) `ls *.c`
|
||||
|
||||
env:
|
||||
/bin/env
|
||||
|
||||
|
@@ -44,3 +44,6 @@ depend: .depend
|
||||
|
||||
.depend:
|
||||
../mkdep $(CFLAGS) `ls *.c`
|
||||
|
||||
env:
|
||||
/bin/env
|
||||
|
Reference in New Issue
Block a user