Hello Andrém Am 2006-11-25 12:08:42, schrieb André Felipe Machado: > > > # EXT_DIR=`/usr/bin/php-config --extension-dir`; > > > EXT_DIR = $(shell /usr/bin/php-config --extension-dir); > > > > > > mkdir -p ${CURDIR}/debian/php-java-bridge/var/lib/tomcat5/webapps; \ > > > cp ${CURDIR}/debian/php-java-bridge/${EXT_DIR}/JavaBridge.war > > > ${CURDIR}/debian/php-java-bridge/var/lib/tomcat5/webapps; Pleas try: ----8<-------------------------------------------------------------- EXT_DIR := $(shell /usr/bin/php-config --extension-dir) install: dh_testdir dh_installdir php-java-bridge/var/lib/tomcat5/webapps binary-indep: install dh_testdir cp debian/php-java-bridge/$(EXT_DIR)/JavaBridge.war debian/php-java-bridge/var/lib/tomcat5/webapps ----8<-------------------------------------------------------------- which should work. Do not forget to put a versioned Build-Depends: in your debian/control file. Thanks, Greetings and nice Day Michelle Konzack Systemadministrator Tamay Dogan Network Debian GNU/Linux Consultant -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ ##################### Debian GNU/Linux Consultant ##################### Michelle Konzack Apt. 917 ICQ #328449886 50, rue de Soultz MSM LinuxMichi 0033/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com)
Attachment:
signature.pgp
Description: Digital signature