File: rules

package info (click to toggle)
libdata-amf-perl 0.09-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 608 kB
  • sloc: perl: 5,955; makefile: 14
file content (20 lines) | stat: -rwxr-xr-x 558 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
#!/usr/bin/make -f

PACKAGE = $(shell dh_listpackages)
TMP     = $(CURDIR)/debian/$(PACKAGE)

%:
	dh $@

override_dh_auto_install:
	dh_auto_install
	$(RM) -v $(TMP)/usr/share/man/man3/Data::AMF::Type::*.3pm

override_dh_installexamples:
	dh_installexamples
	chmod 644 $(TMP)/usr/share/doc/libdata-amf-perl/examples/simple_flex_rpc/gateway.psgi

override_dh_auto_test:
	[ ! -f $(CURDIR)/inc/YAML.pm ] || mv $(CURDIR)/inc/YAML.pm $(CURDIR)/inc/YAML.pm.OLD
	dh_auto_test
	[ ! -f $(CURDIR)/inc/YAML.pm.OLD ] || mv $(CURDIR)/inc/YAML.pm.OLD $(CURDIR)/inc/YAML.pm