File: rules

package info (click to toggle)
php-xajax 0.5-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 1,176 kB
  • ctags: 2,662
  • sloc: php: 11,879; sh: 34; makefile: 13
file content (25 lines) | stat: -rwxr-xr-x 770 bytes parent folder | download
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