Hello, Unfortunately, it does not work. The debian/rules processing uses make. And make does not expand "`" as an external shell command directive, like bash. It has the $(shell command) directive, instead. Thanks for your suggestion.
Does someone knows about a package having a debian/rules with similar needs? Andre Felipe Machado Em Sáb, 2006-11-25 às 10:36 +0100, Michael Tautschnig escreveu: > Hi! > > [...] > > > > > # 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; > > > Just to avoid all the variable-assignment-tests - what about the following, > does > that work? > > mkdir -p ${CURDIR}/debian/php-java-bridge/var/lib/tomcat5/webapps; \ > cp ${CURDIR}/debian/php-java-bridge/`/usr/bin/php-config > --extension-dir`/JavaBridge.war \ > ${CURDIR}/debian/php-java-bridge/var/lib/tomcat5/webapps > > HTH, > Michael > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]