File: rules

package info (click to toggle)
redland 1.0.17-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,836 kB
  • sloc: ansic: 37,638; sh: 12,115; perl: 2,590; xml: 807; makefile: 575
file content (26 lines) | stat: -rwxr-xr-x 657 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
#!/usr/bin/make -f

%:
	dh $@

override_dh_auto_clean:

override_dh_auto_configure:
	dh_auto_configure -- \
  --with-raptor=system \
  --with-rasqal=system \
  --with-threestore=no \
  --with-mysql=yes \
  --with-sqlite=yes \
  --with-postgresql=yes \
  --with-openssl-digests=no \
  --with-virtuoso=yes \
  --with-gtk-doc=no \
  --enable-release

execute_after_dh_auto_install:
	rm -f debian/tmp/usr/lib/*/redland/librdf_storage_*.a
	rm -rf debian/tmp/usr/share/gtk-doc
	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