File: rules

package info (click to toggle)
tedia2sql 1.2.12-3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 384 kB
  • ctags: 553
  • sloc: perl: 2,196; sql: 1,683; makefile: 31; sh: 24
file content (43 lines) | stat: -rwxr-xr-x 892 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
#!/usr/bin/make -f

PACKAGE=tedia2sql

clean:
	dh_clean
	rm -f build-stamp

build: build-stamp

build-stamp:
	dh_testdir
	touch build-stamp

install: build
	dh_testroot
	dh_clean -k
	dh_installdirs

	# Add commands to install the package into debian/$(PACKAGE)
	install -D -m 755 $(PACKAGE) $(CURDIR)/debian/$(PACKAGE)/usr/bin/$(PACKAGE)
	install -D -m 644 $(PACKAGE)rc $(CURDIR)/debian/$(PACKAGE)/etc/$(PACKAGE)rc
	install -D -m 644 debian/$(PACKAGE).sheet $(CURDIR)/debian/$(PACKAGE)/usr/share/dia/sheets/$(PACKAGE).sheet

binary-indep: build install
	dh_testdir
	dh_testroot
	dh_installdocs
	dh_installman debian/tedia2sql.1
	dh_installchangelogs 
	dh_compress
	dh_fixperms
	dh_perl
	dh_installdeb
	dh_gencontrol
	dh_md5sums
	dh_builddeb

binary-arch: build install
# We have nothing to do here

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