File: rules

package info (click to toggle)
gnat 4.6
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 28 kB
  • sloc: makefile: 20
file content (27 lines) | stat: -rwxr-xr-x 496 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
#!/usr/bin/make -f

build build-arch build-indep:

binary: binary-arch binary-indep

binary-arch: build
	dh_testdir
	dh_testroot
	dh_link -pgnat /usr/bin/gcc-4.6 /usr/bin/gnatgcc
	dh_link -pgnat /usr/share/man/man1/gnat.1.gz /usr/share/man/man1/gnatgcc.1.gz
	dh_gencontrol
	dh_installdocs
	dh_installchangelogs
	dh_fixperms
	dh_compress
	dh_md5sums
	dh_builddeb

binary-indep: build

clean:
	dh_testdir
	dh_testroot
	dh_clean

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