File: rules

package info (click to toggle)
libfile-searchpath-perl 0.06-2.2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 72 kB
  • sloc: perl: 127; makefile: 12
file content (18 lines) | stat: -rwxr-xr-x 459 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk

configure/libfile-searchpath-perl::
	perl Build.PL --prefix $(DEB_DESTDIR)/usr --installdirs vendor

build/libfile-searchpath-perl::
	./Build
	./Build test

install/libfile-searchpath-perl::
	./Build install
	find $(DEB_DESTDIR) -type f -name .packlist -print0 | xargs -0r rm -f
	find $(DEB_DESTDIR) -type d -print0 | xargs -0r rmdir -p --ignore-fail-on-non-empty

clean::
	-./Build distclean