File: rules

package info (click to toggle)
raptor2 2.0.8-2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 15,420 kB
  • sloc: ansic: 36,499; sh: 11,917; xml: 6,629; yacc: 2,357; makefile: 1,759; perl: 1,013; lex: 961; cpp: 59
file content (31 lines) | stat: -rwxr-xr-x 726 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
#!/usr/bin/make -f
#
# Debian rules for packaging Raptor2
#
#
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/class/makefile.mk

DEB_INSTALL_DOCS_ALL=README NEWS AUTHORS NOTICE
DEB_INSTALL_DOCS_libraptor2-dev=UPGRADING.html docs/raptor1-eol.html

DEB_DBG_PACKAGE_libraptor2-0 = libraptor2-0-dbg

DEB_CONFIGURE_USER_FLAGS= \
  --enable-release

LDFLAGS += -Wl,--default-symver

DEB_MAKE_CLEAN_TARGET := 

clean::
	# raw distclean deletes the docs/html documentation
	if test -r Makefile; then \
	  mv docs/html docs/html.saved; \
	  $(MAKE) distclean; \
	  mv docs/html.saved docs/html; \
	fi

install/libraptor2-dev::
	rm -f debian/tmp/usr/lib/libraptor2.la