File: rules

package info (click to toggle)
dxpc 3.9.0-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 424 kB
  • ctags: 5
  • sloc: makefile: 14
file content (24 lines) | stat: -rwxr-xr-x 777 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
#!/usr/bin/make -f
# -*- makefile -*-

l_PACKAGE := dxpc
l_VERSION := $(shell dpkg-parsechangelog | \
             awk '/Version:/ {print $$2}' | cut -d- -f 1)

DEB_TAR_SRCDIR = $(l_PACKAGE)-$(l_VERSION)
DEB_INSTALL_DOCS_dxpc = $(DEB_BUILDDIR)/CHANGES

# Include cdbs rules files.
include /usr/share/cdbs/1/rules/tarball.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk
include /usr/share/cdbs/1/rules/debhelper.mk

DEB_MAKE_INSTALL_TARGET = prefix=$(CURDIR)/debian/$(l_PACKAGE)/usr \
	  MANDIR=$(CURDIR)/debian/$(l_PACKAGE)/usr/share/man/man1 \
	  install

# As 0.4.21, cdbs creates but doesn't debian/compat.  It creates it
# conditionally, so this doesn't have a trivial fix.
clean::
	$(RM) debian/compat *.cdbs-config_list