File: rules

package info (click to toggle)
libsystemd-dummy 208-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 80 kB
  • sloc: ansic: 91; makefile: 25
file content (35 lines) | stat: -rwxr-xr-x 647 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
#!/usr/bin/make -f

D := $(CURDIR)/debian/libsystemd-daemon-dev

clean:
	dh_testdir
	dh_clean

build: build-arch build-indep
build-arch:
build-indep:

binary-arch:
	dh_testdir
	dh_testroot
	dh_prep

	dh_installdirs /usr/include/systemd/ /usr/lib/pkgconfig/
	install -o root -g root -m 0644 src/*.h $D/usr/include/systemd/
	install -o root -g root -m 0644 src/libsystemd-daemon.pc $D/usr/lib/pkgconfig/

	dh_installchangelogs
	dh_installdocs
	dh_compress
	dh_fixperms
	dh_installdeb
	dh_gencontrol
	dh_md5sums
	dh_builddeb

binary-indep:

binary: binary-arch binary-indep

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