File: rules-old

package info (click to toggle)
hello 2.10-2
  • links: PTS
  • area: main
  • in suites: bullseye, buster
  • size: 3,768 kB
  • sloc: ansic: 11,081; sh: 6,438; makefile: 131; sed: 16
file content (43 lines) | stat: -rwxr-xr-x 798 bytes parent folder | download | duplicates (5)
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
# See debian/rules if you prefer the new dh syntax.
package = hello

clean:
	rm -f build
	[ ! -f Makefile ] || $(MAKE) distclean
	dh_clean

install: build
	dh_clean
	dh_auto_install

build:
	dh_auto_configure
	dh_auto_build
	touch build

binary-indep: install
# There are no architecture-independent files to be uploaded
# generated by this package.  If there were any they would be
# made here.

binary-arch: install
	dh_installdocs -a NEWS
	dh_installchangelogs -a ChangeLog
	dh_installinfo -a doc/*.info
	dh_strip -a
	dh_compress -a
	dh_fixperms -a
	dh_installdeb -a
	dh_shlibdeps -a
	dh_gencontrol -a
	dh_md5sums -a
	dh_builddeb -a

binary: binary-indep binary-arch

build-arch: build

build-indep: build

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