File: rules

package info (click to toggle)
everybuddy 0.2.1beta6-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 3,936 kB
  • ctags: 5,627
  • sloc: ansic: 50,783; sh: 8,559; yacc: 191; makefile: 182; perl: 97; lex: 50
file content (61 lines) | stat: -rwxr-xr-x 1,527 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
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

# debian/rules file for everybuddy Debian package
# written July 1998 by Ben Gertzfield <che@debian.org>
# currently maintained by Michael Ivey <ivey@debian.org>

export DH_COMPAT=2

build: build-stamp
build-stamp:
	./configure --prefix=/usr --mandir=/usr/share/man
	(cd doc && for i in *.pod; do pod2man --center "Debian GNU/Linux" --release "woody" $$i > `basename $$i .pod`.1; done)
	$(MAKE) all
	touch $@

clean:
	dh_clean
	-$(MAKE) distclean
	rm -f build-stamp install-stamp
	rm -f doc/update.pl.1 doc/contact-update.pl.1 config.log

install: install-stamp
install-stamp:
	dh_testdir
	dh_testroot
	dh_clean
	install -d debian/tmp/usr/bin
	$(MAKE) DESTDIR=`pwd`/debian/tmp install
# this file appears to be gone from eb now
# 	rm `pwd`/debian/tmp/usr/bin/au2h
	touch $@

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

# Build architecture-dependent files here.
binary-arch: build install everybuddy

everybuddy: build install
	dh_testdir -a 
	dh_testroot -a
	dh_installdirs -a usr/bin
	dh_installdocs -a
	dh_installchangelogs -a ChangeLog
	dh_installmenu -a
	dh_movefiles -a
	dh_strip -a
	dh_compress -a
	dh_fixperms -a
	dh_installdeb -a
	dh_shlibdeps -a
	dh_gencontrol -a
	dh_md5sums -a
	dh_builddeb -a

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

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