File: rules

package info (click to toggle)
hp2xx 3.4.4-10
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 3,048 kB
  • ctags: 2,006
  • sloc: ansic: 20,004; makefile: 123
file content (27 lines) | stat: -rwxr-xr-x 837 bytes parent folder | download | duplicates (6)
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
#!/usr/bin/make -f
  
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/makefile.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk

# Add here any variable or target overrides you need.

# Build problems
# That will avoid passing CFLAGS. But note that this breaks the automatic implementation of DEB_BUILD_OPTIONS
DEB_MAKE_INVOKE = $(DEB_MAKE_ENVVARS) make -C $(DEB_BUILDDIR)

DEB_MAKE_CLEAN_TARGET   = clean
DEB_MAKE_BUILD_TARGET   = all
DEB_MAKE_INSTALL_TARGET = install \
	bindir=$(CURDIR)/debian/hp2xx/usr/bin \
	mandir=$(CURDIR)/debian/hp2xx/usr/share/man \
	infodir=$(CURDIR)/debian/hp2xx/usr/share/info

# no check for this software
DEB_MAKE_CHECK_TARGET   =

install/hp2xx::
	cp doc/changes debian/hp2xx/usr/share/doc/hp2xx/changelog_old
	cp hp-tests/* debian/hp2xx/usr/share/doc/hp2xx/hp-tests/