File: rules

package info (click to toggle)
libperlmenu-perl 4.0-5.2
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 384 kB
  • sloc: perl: 2,439; makefile: 33
file content (48 lines) | stat: -rwxr-xr-x 991 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#!/usr/bin/make -f

# export DH_VERBOSE=1

TMP= $(CURDIR)/debian/libperlmenu-perl

build-arch: build
build-indep: build
build:
    #We don't have to build things.

clean:
	dh_testdir
	dh_testroot
	dh_clean

install: 
	dh_testdir
	dh_testroot
	dh_clean -k

	mkdir -p $(TMP)/usr/share/perl5/
	cp perlmenu.pm $(TMP)/usr/share/perl5/

# Build architecture-dependent files here.
binary-arch: install

# Build architecture-independent files here.
binary-indep: install
	dh_testdir
	dh_testroot
	dh_installchangelogs RELEASE_NOTES
	dh_installdocs
	dh_installexamples
	chmod 644 $(TMP)/usr/share/doc/libperlmenu-perl/examples/template_*
	dh_compress
	dh_fixperms
	dh_installdeb
	dh_perl
	dh_gencontrol
	dh_md5sums
	dh_builddeb --destdir=..

source diff:                                                                  
	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false

binary: binary-indep binary-arch
.PHONY: build-indep build-arch build clean binary-indep binary-arch binary