File: Makefile

package info (click to toggle)
libixp 0.6~20121202%2Bhg148-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 988 kB
  • sloc: ansic: 4,908; sh: 142; perl: 121; makefile: 111
file content (27 lines) | stat: -rw-r--r-- 553 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
ROOT=.
include $(ROOT)/mk/hdr.mk
include $(ROOT)/mk/ixp.mk

DIRS =	lib	\
	cmd	\
	include	\
	man

doc:
	perl $(ROOT)/util/grepdoc $$(hg manifest | egrep '^(lib|include)') \
		>$(ROOT)/man/targets.mk
	$(MAKE) -Cman

deb-dep:
	IFS=', '; \
	apt-get -qq install build-essential $$(sed -n 's/([^)]*)//; s/^Build-Depends: \(.*\)/\1/p' debian/control)

DISTRO = unstable
deb:
	$(ROOT)/util/genchangelog libixp-hg $(VERSION) $(DISTRO)
	dpkg-buildpackage -rfakeroot -b -nc
	[ -d .hg ] && hg revert debian/changelog || true

.PHONY: doc
include $(ROOT)/mk/dir.mk