File: rules

package info (click to toggle)
gmod 3.1-8.3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,340 kB
  • ctags: 808
  • sloc: cpp: 7,764; makefile: 76
file content (61 lines) | stat: -rwxr-xr-x 1,206 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
54
55
56
57
58
59
60
61
#!/usr/bin/make -f
# Copyright 1994,1995 by Ian Jackson.
# Copyright 1996-1999 by Riku Voipio.
# Public Domain

package=gmod

build:
	dh_testdir
	make
	make -f Makefile.gmod clean
	make -f Makefile.gmod

	touch build

clean:
	dh_testdir
	dh_testroot
	-rm -f build install-stamp
	-make clean
	-make -f Makefile.gmod clean
	dh_clean

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

binary-arch:	build
	dh_testdir -a
	dh_testroot -a
	dh_installdirs -a 
	install -s gmod debian/tmp/usr/bin/gmod
	cp gmod.1 debian/tmp/usr/share/man/man1/gmod.1
	install -s xgmod debian/xgmod/usr/X11R6/bin/xgmod
	cp xgmod.1 debian/xgmod/usr/X11R6/man/man1/xgmod.1
	dh_installmenu -a
	dh_strip -a
	dh_installdocs -a -A README
	dh_installchangelogs -a ChangeLog
	dh_compress -a
	dh_fixperms -a
	dh_shlibdeps -a 
	dh_gencontrol -a
	dh_installdeb -a 
	dh_md5sums -a
	dh_builddeb -a

# Below here is fairly generic really

binary:		binary-indep binary-arch


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

.PHONY: binary binary-arch binary-indep clean