summaryrefslogtreecommitdiff
path: root/examples/rules
blob: e6ebf0b0015b3b1cdae50331f63d9ba21e0cc4a0 (plain)
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
# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.

build: build-stamp
build-stamp:
	dh_testdir
	# Add here commands to compile the pacckage.
	#$(MAKE)
	touch build-stamp

clean:
	dh_testdir
	dh_testroot
	dh_cleantmp
	# Add here commands to clean up after the build process.
	#-$(MAKE) distclean
	rm -f build-stamp

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

# Build architecture-dependent files here.
binary-arch: build
	dh_testdir
	dh_testroot
	dh_cleantmp
	# Add here commands to install the files into debian/tmp
	#$(MAKE) PREFIX=debian/tmp install
	dh_installdocs
	dh_installexamples
	dh_installmenu
	dh_installmanpages
	dh_installchangelogs
	dh_compress
	dh_installdebfiles
	dh_fixperms
	dh_builddeb

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