File: rules

package info (click to toggle)
redland 1.0.15-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 8,620 kB
  • sloc: ansic: 37,577; sh: 11,630; perl: 2,587; xml: 777; makefile: 579
file content (34 lines) | stat: -rwxr-xr-x 992 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
32
33
34
#!/usr/bin/make -f
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_CONFIGURE_USER_FLAGS= \
  --with-raptor=system \
  --with-rasqal=system \
  --with-threestore=no \
  --with-mysql=yes \
  --with-sqlite=yes \
  --with-postgresql=yes \
  --with-openssl-digests=no \
  --with-virtuoso=no \
  --enable-release

# DEB_SHLIBDEPS_LIBRARY_librdf0 := librdf
# DEB_SHLIBDEPS_INCLUDE_librdf0 := debian/tmp/usr/lib/

## Do not do distclean which deletes the docs/html documentation
#DEB_MAKE_CLEAN_TARGET := clean

build/librdf0-dev::
	cd docs/html && rm -f librdf.devhelp2 && ln -s redland.devhelp2 librdf.devhelp2

install/librdf0-dev::
	for lib in debian/tmp/usr/lib/librdf.la debian/tmp/usr/lib/redland/librdf_storage_*.la; do \
	  sed "/dependency_libs/ s/'.*'/''/" $$lib >> $$lib.new && mv $$lib.new $$lib; \
	done

clean::
	rm -f docs/html/librdf.devhelp2