File: rules

package info (click to toggle)
spread 3.17.2-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,684 kB
  • ctags: 2,272
  • sloc: ansic: 15,165; sh: 2,563; java: 2,291; perl: 556; yacc: 523; makefile: 235; lex: 204; xml: 77
file content (21 lines) | stat: -rwxr-xr-x 629 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
#!/usr/bin/make -f

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

DEB_SHLIBS_INCLUDE_spread := debian/libspread1/usr/lib
DEB_CONFIGURE_SYSCONFDIR := /etc/spread
DEB_MAKE_CHECK_TARGET := 
DEB_CONFIGURE_EXTRA_FLAGS := --with-mantype=man

configure/libspread-perl:: perl/Spread/Makefile.PL
	cd perl/Spread && perl Makefile.PL INSTALLDIRS=vendor

build/libspread-perl:: perl/Spread/Makefile
	cd perl/Spread && $(MAKE) LD_RUN_PATH="" OPTIMIZE="$(CFLAGS)"

install/libspread-perl::
	cd perl/Spread && $(MAKE) install PREFIX=$(DEB_DESTDIR)/usr

clean::
	-cd perl/Spread && $(MAKE) distclean