File: rules

package info (click to toggle)
gmetadom 0.2.6-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster
  • size: 3,548 kB
  • ctags: 1,203
  • sloc: sh: 8,767; xml: 3,772; cpp: 3,129; ansic: 2,695; ml: 959; makefile: 911
file content (22 lines) | stat: -rwxr-xr-x 583 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
#!/usr/bin/make -f

%:
	dh $@ --with ocaml --no-parallel

override_dh_auto_configure:
	dh_auto_configure -- --with-modules="gdome_cpp_smart gdome_caml"

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

override_dh_install:
	dh_install
	-find debian/ -type f -size 0 -exec rm {} \;
	-find debian/libgdome2-ocaml-dev -type d -name CVS -exec rm -rf {} \;

override_dh_makeshlibs:
# For new symbols when compiled with GCC 7 (#871277)
	dh_makeshlibs -V'libgdome2-cpp-smart0v5 (>= 0.2.6-7~)'