File: rules

package info (click to toggle)
fl-cow 0.6-4.2
  • links: PTS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, sid, stretch
  • size: 1,276 kB
  • ctags: 121
  • sloc: sh: 9,783; ansic: 278; makefile: 59
file content (55 lines) | stat: -rwxr-xr-x 1,007 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
#!/usr/bin/make -f

clean:
	dh_testdir
	- $(MAKE) distclean
	dh_clean *-stamp

configure-stamp:
	dh_testdir
	autoreconf -fi
	./configure --prefix=/usr --disable-static --libdir=/usr/lib/fl-cow
	touch configure-stamp

configure: configure-stamp

build-stamp: configure
	dh_testdir
	$(MAKE)
	$(MAKE) check
	touch build-stamp

build: build-stamp

install-stamp: build
	dh_testdir
	dh_testroot
	$(MAKE) DESTDIR=$(CURDIR)/debian/fl-cow install
	rm debian/fl-cow/usr/lib/fl-cow/libflcow.la

install: install-stamp

binary-arch: install
	dh_testdir
	dh_testroot
	dh_installdocs README
	dh_installchangelogs ChangeLog
	install -D -m 644 debian/lintian-override \
		debian/fl-cow/usr/share/lintian/overrides/fl-cow
	install -D -m 755 debian/cow-script $(CURDIR)/debian/fl-cow/usr/bin/cow
	dh_strip
	dh_compress
	dh_fixperms
	dh_makeshlibs
	dh_installdeb
	dh_shlibdeps
	dh_gencontrol
	dh_md5sums
	dh_builddeb

binary-indep:

binary: binary-arch

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