File: rules

package info (click to toggle)
gmetadom 0.2.6-6
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 3,548 kB
  • sloc: sh: 8,767; xml: 3,772; cpp: 3,129; ansic: 2,695; ml: 959; makefile: 907
file content (14 lines) | stat: -rwxr-xr-x 497 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/ocaml.mk

DEB_CONFIGURE_EXTRA_FLAGS = --with-modules="gdome_cpp_smart gdome_caml"
common-binary-post-install-arch::
	-find debian/ -type f -size 0 -exec rm {} \;
	-find debian/libgdome2-ocaml-dev -type d -name CVS -exec rm -rf {} \;

common-install-arch::
	for file in debian/tmp/usr/lib/*.la; do \
		sed -i "/dependency_libs/ s/'.*'/''/" $$file ; \
	done