File: rules

package info (click to toggle)
shapetools-tutorial 1.3-6
  • links: PTS
  • area: non-free
  • in suites: sid
  • size: 1,956 kB
  • sloc: makefile: 28
file content (41 lines) | stat: -rwxr-xr-x 890 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
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/usr/bin/make -f
# -*- mode: makefile -*-

pkg	= shapetools-tutorial
d	= debian/$(pkg)

build-arch: build
build-indep: build
build:
	true

clean:
	dh_testdir
	dh_testroot
	dh_clean

# Build architecture-independent files here.
binary-indep: build
	dh_testdir
	dh_testroot
	dh_installdirs usr/share/doc/shapetools usr/share/doc/$(pkg)
	dh_installdocs tutorial.ps
	ln -s ../$(pkg)/tutorial.ps $(d)/usr/share/doc/shapetools/tutorial.ps
#	dh_installmenu
	dh_installchangelogs
	dh_compress
	dh_fixperms
	dh_installdeb
	dh_gencontrol
	dh_md5sums
	dh_builddeb

# Build architecture-dependent files here.
binary-arch: build
# We have nothing to do by default.

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

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