File: rules

package info (click to toggle)
php-doctrine-dbal 2.4.3-1~bpo70%2B1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy-backports
  • size: 1,520 kB
  • sloc: php: 16,373; makefile: 19
file content (25 lines) | stat: -rwxr-xr-x 741 bytes parent folder | download | duplicates (2)
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

%:
	dh $@ --with phpcomposer -XREADME.markdown

override_dh_installman:
	mkdir $(CURDIR)/debian/tmp
	cd $(CURDIR)/lib && \
		help2man --help-option=\  --no-info \
		--name='Doctrine command line interface' \
		"php $(CURDIR)/bin/doctrine-dbal" \
		> $(CURDIR)/debian/tmp/doctrine-dbal.1
	dh_installman

override_dh_fixperms:
	dh_fixperms
	chmod -x $(CURDIR)/debian/php-doctrine-dbal/usr/bin/doctrine*.php \
		$(CURDIR)/debian/php-doctrine-dbal/usr/share/php/Doctrine/DBAL/Types/JsonArrayType.php \
		$(CURDIR)/debian/php-doctrine-dbal/usr/share/php/Doctrine/DBAL/Types/SimpleArrayType.php

override_dh_installchangelogs:
	dh_installchangelogs debian/upstream/changelog

get-orig-source:
	uscan --force --verbose --rename