[Asterisk-cvs] asterisk Makefile,1.216,1.217
russell
russell
Tue Oct 25 08:54:57 CDT 2005
- Previous message: [Asterisk-cvs]
asterisk/include/asterisk doxyref.h, NONE, 1.1 acl.h,
1.16, 1.17 adsi.h, 1.11, 1.12 aes.h, 1.3, 1.4 agi.h, 1.3,
1.4 alaw.h, 1.4, 1.5 app.h, 1.39, 1.40 astdb.h, 1.3,
1.4 astmm.h, 1.3, 1.4 astosp.h, 1.4, 1.5 callerid.h, 1.13,
1.14 causes.h, 1.9, 1.10 cdr.h, 1.29, 1.30 channel.h, 1.106,
1.107 chanvars.h, 1.7, 1.8 cli.h, 1.9, 1.10 compat.h, 1.2,
1.3 compiler.h, 1.2, 1.3 config.h, 1.23, 1.24 crypto.h, 1.8,
1.9 devicestate.h, 1.4, 1.5 dns.h, 1.4, 1.5 dnsmgr.h, 1.2,
1.3 dsp.h, 1.9, 1.10 dundi.h, 1.10, 1.11 endian.h, 1.5,
1.6 enum.h, 1.7, 1.8 features.h, 1.6, 1.7 file.h, 1.27,
1.28 frame.h, 1.58, 1.59 fskmodem.h, 1.2, 1.3 image.h, 1.4,
1.5 indications.h, 1.5, 1.6 inline_api.h, 1.2, 1.3 io.h, 1.9,
1.10 localtime.h, 1.3, 1.4 lock.h, 1.37, 1.38 manager.h, 1.21,
1.22 md5.h, 1.5, 1.6 monitor.h, 1.5, 1.6 musiconhold.h, 1.5,
1.6 netsock.h, 1.2, 1.3 options.h, 1.17, 1.18 pbx.h, 1.53,
1.54 plc.h, 1.3, 1.4 privacy.h, 1.2, 1.3 res_odbc.h, 1.6,
1.7 rtp.h, 1.26, 1.27 say.h, 1.13, 1.14 sched.h, 1.10,
1.11 slinfactory.h, 1.2, 1.3 srv.h, 1.4, 1.5 strings.h, 1.11,
1.12 tdd.h, 1.4, 1.5 term.h, 1.4, 1.5 time.h, 1.8,
1.9 transcap.h, 1.2, 1.3 translate.h, 1.9, 1.10 ulaw.h, 1.4,
1.5 unaligned.h, 1.3, 1.4 utils.h, 1.45, 1.46 vmodem.h, 1.20, 1.21
- Next message: [Asterisk-cvs] asterisk/contrib asterisk-ng-doxygen,1.7,1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv7882
Modified Files:
Makefile
Log Message:
there is a variable defined for 'install', might as well use it ...
Index: Makefile
===================================================================
RCS file: /usr/cvsroot/asterisk/Makefile,v
retrieving revision 1.216
retrieving revision 1.217
diff -u -d -r1.216 -r1.217
--- Makefile 16 Oct 2005 03:08:58 -0000 1.216
+++ Makefile 25 Oct 2005 12:47:54 -0000 1.217
@@ -498,7 +498,7 @@
mkdir -p $(DESTDIR)$(ASTVARLIBDIR)/sounds/priv-callerintros
for x in sounds/digits/*.gsm; do \
if $(GREP) -q "^%`basename $$x`%" sounds.txt; then \
- install -m 644 $$x $(DESTDIR)$(ASTVARLIBDIR)/sounds/digits ; \
+ $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTVARLIBDIR)/sounds/digits ; \
else \
echo "No description for $$x"; \
exit 1; \
@@ -507,7 +507,7 @@
mkdir -p $(DESTDIR)$(ASTVARLIBDIR)/sounds/dictate
for x in sounds/dictate/*.gsm; do \
if $(GREP) -q "^%`basename $$x`%" sounds.txt; then \
- install -m 644 $$x $(DESTDIR)$(ASTVARLIBDIR)/sounds/dictate ; \
+ $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTVARLIBDIR)/sounds/dictate ; \
else \
echo "No description for $$x"; \
exit 1; \
@@ -516,7 +516,7 @@
mkdir -p $(DESTDIR)$(ASTVARLIBDIR)/sounds/letters
for x in sounds/letters/*.gsm; do \
if $(GREP) -q "^%`basename $$x`%" sounds.txt; then \
- install -m 644 $$x $(DESTDIR)$(ASTVARLIBDIR)/sounds/letters ; \
+ $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTVARLIBDIR)/sounds/letters ; \
else \
echo "No description for $$x"; \
exit 1; \
@@ -525,7 +525,7 @@
mkdir -p $(DESTDIR)$(ASTVARLIBDIR)/sounds/phonetic
for x in sounds/phonetic/*.gsm; do \
if $(GREP) -q "^%`basename $$x`%" sounds.txt; then \
- install -m 644 $$x $(DESTDIR)$(ASTVARLIBDIR)/sounds/phonetic ; \
+ $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTVARLIBDIR)/sounds/phonetic ; \
else \
echo "No description for $$x"; \
exit 1; \
@@ -533,7 +533,7 @@
done
for x in sounds/demo-* sounds/vm-* sounds/transfer* sounds/pbx-* sounds/ss-* sounds/beep* sounds/dir-* sounds/conf-* sounds/agent-* sounds/invalid* sounds/tt-* sounds/auth-* sounds/privacy-* sounds/queue-* sounds/spy-* sounds/priv-* sounds/screen-* sounds/hello-*; do \
if $(GREP) -q "^%`basename $$x`%" sounds.txt; then \
- install -m 644 $$x $(DESTDIR)$(ASTVARLIBDIR)/sounds ; \
+ $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTVARLIBDIR)/sounds ; \
else \
echo "No description for $$x"; \
exit 1; \
@@ -542,7 +542,7 @@
mkdir -p $(DESTDIR)$(ASTVARLIBDIR)/mohmp3
mkdir -p $(DESTDIR)$(ASTVARLIBDIR)/images
for x in images/*.jpg; do \
- install -m 644 $$x $(DESTDIR)$(ASTVARLIBDIR)/images ; \
+ $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTVARLIBDIR)/images ; \
done
mkdir -p $(DESTDIR)$(AGI_DIR)
@@ -595,17 +595,17 @@
mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/system
mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/tmp
mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/meetme
- install -m 755 asterisk $(DESTDIR)$(ASTSBINDIR)/
+ $(INSTALL) -m 755 asterisk $(DESTDIR)$(ASTSBINDIR)/
ln -sf asterisk $(DESTDIR)$(ASTSBINDIR)/rasterisk
- install -m 755 contrib/scripts/astgenkey $(DESTDIR)$(ASTSBINDIR)/
- install -m 755 contrib/scripts/autosupport $(DESTDIR)$(ASTSBINDIR)/
+ $(INSTALL) -m 755 contrib/scripts/astgenkey $(DESTDIR)$(ASTSBINDIR)/
+ $(INSTALL) -m 755 contrib/scripts/autosupport $(DESTDIR)$(ASTSBINDIR)/
if [ ! -f $(DESTDIR)$(ASTSBINDIR)/safe_asterisk ]; then \
cat contrib/scripts/safe_asterisk | sed 's|__ASTERISK_SBIN_DIR__|$(ASTSBINDIR)|;' > $(DESTDIR)$(ASTSBINDIR)/safe_asterisk ;\
chmod 755 $(DESTDIR)$(ASTSBINDIR)/safe_asterisk;\
fi
for x in $(SUBDIRS); do $(MAKE) -C $$x install || exit 1 ; done
- install -d $(DESTDIR)$(ASTHEADERDIR)
- install -m 644 include/asterisk/*.h $(DESTDIR)$(ASTHEADERDIR)
+ $(INSTALL) -d $(DESTDIR)$(ASTHEADERDIR)
+ $(INSTALL) -m 644 include/asterisk/*.h $(DESTDIR)$(ASTHEADERDIR)
if [ -n "$(OLDHEADERS)" ]; then \
rm -f $(addprefix $(DESTDIR)$(ASTHEADERDIR)/,$(OLDHEADERS)) ;\
fi
@@ -617,14 +617,14 @@
mkdir -p $(DESTDIR)$(ASTVARLIBDIR)/firmware
mkdir -p $(DESTDIR)$(ASTVARLIBDIR)/firmware/iax
mkdir -p $(DESTDIR)$(ASTMANDIR)/man8
- install -m 644 keys/iaxtel.pub $(DESTDIR)$(ASTVARLIBDIR)/keys
- install -m 644 keys/freeworlddialup.pub $(DESTDIR)$(ASTVARLIBDIR)/keys
- install -m 644 asterisk.8 $(DESTDIR)$(ASTMANDIR)/man8
- install -m 644 contrib/scripts/astgenkey.8 $(DESTDIR)$(ASTMANDIR)/man8
- install -m 644 contrib/scripts/autosupport.8 $(DESTDIR)$(ASTMANDIR)/man8
- install -m 644 contrib/scripts/safe_asterisk.8 $(DESTDIR)$(ASTMANDIR)/man8
+ $(INSTALL) -m 644 keys/iaxtel.pub $(DESTDIR)$(ASTVARLIBDIR)/keys
+ $(INSTALL) -m 644 keys/freeworlddialup.pub $(DESTDIR)$(ASTVARLIBDIR)/keys
+ $(INSTALL) -m 644 asterisk.8 $(DESTDIR)$(ASTMANDIR)/man8
+ $(INSTALL) -m 644 contrib/scripts/astgenkey.8 $(DESTDIR)$(ASTMANDIR)/man8
+ $(INSTALL) -m 644 contrib/scripts/autosupport.8 $(DESTDIR)$(ASTMANDIR)/man8
+ $(INSTALL) -m 644 contrib/scripts/safe_asterisk.8 $(DESTDIR)$(ASTMANDIR)/man8
if [ -d contrib/firmware/iax ]; then \
- install -m 644 contrib/firmware/iax/iaxy.bin $(DESTDIR)$(ASTVARLIBDIR)/firmware/iax/iaxy.bin; \
+ $(INSTALL) -m 644 contrib/firmware/iax/iaxy.bin $(DESTDIR)$(ASTVARLIBDIR)/firmware/iax/iaxy.bin; \
else \
echo "You need to do cvs update -d not just cvs update" ; \
fi
@@ -685,7 +685,7 @@
mkdir -p $(DESTDIR)$(ASTETCDIR)
for x in configs/*.adsi; do \
if [ ! -f $(DESTDIR)$(ASTETCDIRX)/$$x ]; then \
- install -m 644 $$x $(DESTDIR)$(ASTETCDIR)/`basename $$x` ; \
+ $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTETCDIR)/`basename $$x` ; \
fi ; \
done
@@ -704,7 +704,7 @@
continue; \
fi ;\
fi ; \
- install -m 644 $$x $(DESTDIR)$(ASTETCDIR)/`basename $$x .sample` ;\
+ $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTETCDIR)/`basename $$x .sample` ;\
done
if [ "$(OVERWRITE)" = "y" ] || [ ! -f $(DESTDIR)$(ASTETCDIR)/asterisk.conf ]; then \
echo "[directories]" > $(DESTDIR)$(ASTETCDIR)/asterisk.conf ; \
@@ -728,7 +728,7 @@
mkdir -p $(DESTDIR)$(ASTVARLIBDIR)/sounds ; \
for x in sounds/demo-*; do \
if $(GREP) -q "^%`basename $$x`%" sounds.txt; then \
- install -m 644 $$x $(DESTDIR)$(ASTVARLIBDIR)/sounds ; \
+ $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTVARLIBDIR)/sounds ; \
else \
echo "No description for $$x"; \
exit 1; \
@@ -736,7 +736,7 @@
done
mkdir -p $(DESTDIR)$(ASTVARLIBDIR)/mohmp3 ; \
for x in sounds/*.mp3; do \
- install -m 644 $$x $(DESTDIR)$(ASTVARLIBDIR)/mohmp3 ; \
+ $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTVARLIBDIR)/mohmp3 ; \
done
rm -f $(DESTDIR)$(ASTVARLIBDIR)/mohmp3/sample-hold.mp3
mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/voicemail/default/1234/INBOX
@@ -752,10 +752,10 @@
webvmail:
@[ -d $(DESTDIR)$(HTTP_DOCSDIR)/ ] || ( printf "http docs directory not found.\nUpdate assignment of variable HTTP_DOCSDIR in Makefile!\n" && exit 1 )
@[ -d $(DESTDIR)$(HTTP_CGIDIR) ] || ( printf "cgi-bin directory not found.\nUpdate assignment of variable HTTP_CGIDIR in Makefile!\n" && exit 1 )
- install -m 4755 -o root -g root contrib/scripts/vmail.cgi $(DESTDIR)$(HTTP_CGIDIR)/vmail.cgi
+ $(INSTALL) -m 4755 -o root -g root contrib/scripts/vmail.cgi $(DESTDIR)$(HTTP_CGIDIR)/vmail.cgi
mkdir -p $(DESTDIR)$(HTTP_DOCSDIR)/_asterisk
for x in images/*.gif; do \
- install -m 644 $$x $(DESTDIR)$(HTTP_DOCSDIR)/_asterisk/; \
+ $(INSTALL) -m 644 $$x $(DESTDIR)$(HTTP_DOCSDIR)/_asterisk/; \
done
@echo " +--------- Asterisk Web Voicemail ----------+"
@echo " + +"
@@ -800,10 +800,10 @@
config:
if [ -d /etc/rc.d/init.d ]; then \
- install -m 755 contrib/init.d/rc.redhat.asterisk /etc/rc.d/init.d/asterisk; \
+ $(INSTALL) -m 755 contrib/init.d/rc.redhat.asterisk /etc/rc.d/init.d/asterisk; \
/sbin/chkconfig --add asterisk; \
elif [ -d /etc/init.d ]; then \
- install -m 755 init.asterisk /etc/init.d/asterisk; \
+ $(INSTALL) -m 755 init.asterisk /etc/init.d/asterisk; \
fi
dont-optimize:
- Previous message: [Asterisk-cvs]
asterisk/include/asterisk doxyref.h, NONE, 1.1 acl.h,
1.16, 1.17 adsi.h, 1.11, 1.12 aes.h, 1.3, 1.4 agi.h, 1.3,
1.4 alaw.h, 1.4, 1.5 app.h, 1.39, 1.40 astdb.h, 1.3,
1.4 astmm.h, 1.3, 1.4 astosp.h, 1.4, 1.5 callerid.h, 1.13,
1.14 causes.h, 1.9, 1.10 cdr.h, 1.29, 1.30 channel.h, 1.106,
1.107 chanvars.h, 1.7, 1.8 cli.h, 1.9, 1.10 compat.h, 1.2,
1.3 compiler.h, 1.2, 1.3 config.h, 1.23, 1.24 crypto.h, 1.8,
1.9 devicestate.h, 1.4, 1.5 dns.h, 1.4, 1.5 dnsmgr.h, 1.2,
1.3 dsp.h, 1.9, 1.10 dundi.h, 1.10, 1.11 endian.h, 1.5,
1.6 enum.h, 1.7, 1.8 features.h, 1.6, 1.7 file.h, 1.27,
1.28 frame.h, 1.58, 1.59 fskmodem.h, 1.2, 1.3 image.h, 1.4,
1.5 indications.h, 1.5, 1.6 inline_api.h, 1.2, 1.3 io.h, 1.9,
1.10 localtime.h, 1.3, 1.4 lock.h, 1.37, 1.38 manager.h, 1.21,
1.22 md5.h, 1.5, 1.6 monitor.h, 1.5, 1.6 musiconhold.h, 1.5,
1.6 netsock.h, 1.2, 1.3 options.h, 1.17, 1.18 pbx.h, 1.53,
1.54 plc.h, 1.3, 1.4 privacy.h, 1.2, 1.3 res_odbc.h, 1.6,
1.7 rtp.h, 1.26, 1.27 say.h, 1.13, 1.14 sched.h, 1.10,
1.11 slinfactory.h, 1.2, 1.3 srv.h, 1.4, 1.5 strings.h, 1.11,
1.12 tdd.h, 1.4, 1.5 term.h, 1.4, 1.5 time.h, 1.8,
1.9 transcap.h, 1.2, 1.3 translate.h, 1.9, 1.10 ulaw.h, 1.4,
1.5 unaligned.h, 1.3, 1.4 utils.h, 1.45, 1.46 vmodem.h, 1.20, 1.21
- Next message: [Asterisk-cvs] asterisk/contrib asterisk-ng-doxygen,1.7,1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the svn-commits
mailing list