File: rules

package info (click to toggle)
libfile-userconfig-perl 0.06-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch, wheezy
  • size: 192 kB
  • ctags: 107
  • sloc: perl: 1,280; makefile: 15
file content (21 lines) | stat: -rwxr-xr-x 492 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f

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

override_dh_auto_install:
	dh_auto_install
	rm $(TMP)/usr/share/perl5/auto/share/dist/File-UserConfig/afile.conf
	rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/share/perl5/auto/share/dist/File-UserConfig

override_dh_clean:
	dh_clean
	rm -rf $(BUILDHOME)

override_dh_auto_test:
	mkdir -p $(BUILDHOME)
	HOME=$(BUILDHOME) dh_auto_test

%:
	dh $@