File: rules

package info (click to toggle)
monotone-viz 1.0.2-4
  • links: PTS, VCS
  • area: main
  • in suites: sid, stretch
  • size: 644 kB
  • ctags: 1,406
  • sloc: ml: 5,687; ansic: 779; makefile: 164
file content (58 lines) | stat: -rwxr-xr-x 1,129 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
#!/usr/bin/make -f

# patching
include /usr/share/quilt/quilt.make

build: build-arch build-indep

build-arch: build-stamp

build-indep: build-stamp

build-stamp:
	dh_testdir
	$(MAKE) -f debian/rules patch
	./configure --prefix=/usr
	$(MAKE)
	touch $@

install: build
	dh_testdir
	dh_prep
	dh_installdirs
	$(MAKE) install DESTDIR=$(CURDIR)/debian/monotone-viz

clean:
	dh_testdir
	rm -f build-stamp
	dh_clean
	rm -f *.a *.so *.o *.cm* monotone-viz
	rm -f dot_lexer.ml dot_parser.ml dot_parser.mli basic_io_lexer.ml
	cd glib && rm -f *.o *.cm*
	rm -f config.status config.make config.log
	rm -rf .depend version.ml
	rm -f glib/spawn_tags.[ch] glib/giochannel_tags.[ch] glib/gspawn_tags.[ch]
	$(MAKE) -f debian/rules unpatch


binary-indep:

binary-arch binary: install
	dh_testdir -a
	dh_testroot -a
	dh_installchangelogs -a NEWS
	dh_installdocs -a
	dh_installman -a
	dh_installmenu -a
	dh_compress -a
	dh_fixperms -a
	dh_strip -a
	dh_makeshlibs -a
	dh_shlibdeps -a
	dh_ocaml -a
	dh_installdeb -a
	dh_gencontrol -a
	dh_md5sums -a
	dh_builddeb -a

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