File: rules

package info (click to toggle)
xfractint 20.4.10-2
  • links: PTS
  • area: non-free
  • in suites: buster, jessie, jessie-kfreebsd, stretch, wheezy
  • size: 4,712 kB
  • ctags: 8,020
  • sloc: ansic: 77,316; asm: 430; cpp: 425; makefile: 379; sh: 38
file content (53 lines) | stat: -rwxr-xr-x 1,140 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
42
43
44
45
46
47
48
49
50
51
52
53
#!/usr/bin/make -f
# Made with the aid of debmake, by Christoph Lameter,
# based on the sample debian/rules file for GNU hello by Ian Jackson.

installbin = install -g root -o root -m 755
installdoc = install -g root -o root -m 644

build:
	dh_testdir
	$(MAKE)
	$(MAKE) doc
	touch build

clean:
	dh_testdir
	rm -f stamp-build
	$(MAKE) clean
	-rm -f `find . -name "*~"`
	-rm -f build
	dh_clean


binary-indep:
# Nothing to be done here

binary-arch: build
	dh_testdir
	dh_testroot
	dh_clean -k
	$(installbin) -d debian/xfractint/usr/share/doc/xfractint
	dh_installdocs fractint.doc
	dh_installchangelogs
	#
	$(installbin) -d debian/xfractint/usr/share/man/man1
#	$(installdoc) debian/xtfractint.1 debian/xfractint/usr/share/man/man1
	#
	$(installbin) -d debian/xfractint/usr/bin
	$(installbin) -d debian/xfractint/usr/share/xfractint
	$(MAKE) DESTDIR=`pwd`/debian/xfractint/usr install
#	$(installbin) debian/xtfractint debian/xfractint/usr/bin
	#
	dh_installmenu
	dh_compress
	dh_fixperms
	dh_shlibdeps 
	dh_gencontrol
	dh_installdeb
	dh_md5sums
	dh_builddeb

binary: binary-indep binary-arch

.PHONY: binary binary-arch binary-indep clean