1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
%:
dh $@
XAJAX_DIR=$(CURDIR)/debian/php-xajax
override_dh_auto_install:
# Add here commands to install the package into debian/php-xajax.
install -d -o root -g www-data $(XAJAX_DIR)/usr/share/php/xajax
cp -r xajax_core/ examples/ xajax_js/ tests/ \
$(XAJAX_DIR)/usr/share/php/xajax/
# apache configuration file
install -d $(XAJAX_DIR)/etc/xajax/
cp -r debian/apache.conf $(XAJAX_DIR)/etc/xajax/apache.conf
# example&tests links
install -d $(XAJAX_DIR)/usr/share/doc/php-xajax
ln -sf /usr/share/php/xajax/examples $(XAJAX_DIR)/usr/share/doc/php-xajax/
install -d $(XAJAX_DIR)/usr/share/php/tests
ln -sf /usr/share/php/xajax/tests $(XAJAX_DIR)/usr/share/php/tests/xajax
|