5
PEAR_LIB_DIR := $(shell pear config-get php_dir)
6
PEAR_DATA_DIR := $(shell pear config-get data_dir)
7
PEAR_DOC_DIR := $(shell pear config-get doc_dir)
23
dh_install lib/* $(PEAR_LIB_DIR)/symfony/
24
dh_install data/* $(PEAR_DATA_DIR)/symfony/
25
dh_install doc/* $(PEAR_DOC_DIR)/symfony/
27
rm -f ./debian/php5-symfony1.0/usr/share/php/docs/symfony/LICENSE
28
rm -f ./debian/php5-symfony1.0/usr/share/php/symfony/vendor/propel-generator/LICENSE
31
-rmdir ./debian/php5-symfony1.0$(PEAR_DATA_DIR)/symfony/skeleton/app/app/lib/.sf
32
-rmdir ./debian/php5-symfony1.0$(PEAR_DATA_DIR)/symfony/generator/sfPropelAdmin/default/skeleton/templates
33
-rmdir ./debian/php5-symfony1.0$(PEAR_DATA_DIR)/symfony/generator/sfPropelAdmin/default/skeleton/validate
34
-rmdir ./debian/php5-symfony1.0$(PEAR_DATA_DIR)/symfony/modules/default/config
36
# stop lintian complaining about modes
37
find -perm -a=x -type f | xargs chmod -c a-x
39
chmod a+x ./debian/php5-symfony1.0$(PEAR_DATA_DIR)/symfony/bin/create_sandbox.sh
40
chmod a+x ./debian/php5-symfony1.0$(PEAR_DATA_DIR)/symfony/bin/symfony
41
chmod a+x ./debian/php5-symfony1.0$(PEAR_LIB_DIR)/symfony/vendor/propel-generator/bin/propel-gen
42
chmod a+x ./debian/php5-symfony1.0$(PEAR_LIB_DIR)/symfony/vendor/propel-generator/pear/pear-propel-gen
43
chmod a+x ./debian/php5-symfony1.0$(PEAR_DATA_DIR)/symfony/skeleton/project/symfony
45
-mkdir -p debian/php5-symfony1.0/usr/share/lintian/overrides
46
install -o root -g root -m 644 debian/lintian debian/php5-symfony1.0/usr/share/lintian/overrides/php5-symfony1.0
49
binary-arch: build install
51
binary-indep: build install
66
binary: binary-indep binary-arch
68
.PHONY: build clean binary binary-indep binary-arch install configure