summaryrefslogtreecommitdiff
path: root/debian/rules
blob: 8ff5d025e53f25afc3623f7a8f9afa47dfb399f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f

distribution = SLP

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk

DEB_CONFIGURE_EXTRA_FLAGS = --enable-shared --disable-libtool-lock
DEB_DH_INSTALL_SOURCEDIR = debian/tmp
DEB_INSTALL_CHANGELOGS_ALL = NEWS
DEB_INSTALL_DOCS_ALL =

ifneq ($(distribution),SLP)
DEB_MAKE_CHECK_TARGET = check test
else
DEB_MAKE_CHECK_TARGET =
endif

common-install-impl::
	mkdir -p $(DEB_DESTDIR)/usr/share/lzo/minilzo
	install -D -m 644 minilzo/README.LZO minilzo/minilzo.c minilzo/minilzo.h include/lzo/lzoconf.h include/lzo/lzodefs.h $(CURDIR)/debian/tmp/usr/share/lzo/minilzo