File: rules

package info (click to toggle)
cigi-ccl 3.3.3a+svn818-10
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 7,332 kB
  • sloc: cpp: 62,566; makefile: 541; ruby: 400; ansic: 313; sh: 68
file content (31 lines) | stat: -rwxr-xr-x 753 bytes parent folder | download | duplicates (2)
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
#!/usr/bin/make -f

.PHONY: override_dh_installdocs override_dh_strip override_dh_auto_configure overrid_dh_clean

DPKG_EXPORT_BUILDFLAGS = 1
-include /usr/share/dpkg/buildflags.mk

CFLAGS   += $(CPPFLAGS)
CXXFLAGS += $(CPPFLAGS)

DH_WITHFLAGS = --with pkgkde_symbolshelper --with python2 --with python3
DH_FLAGS = --parallel --buildsystem=cmake

%:
	dh $@ $(DH_WITHFLAGS) $(DH_FLAGS)

override_dh_auto_configure:
	dh_auto_configure --buildsystem=cmake

override_dh_strip:
	dh_strip --dbg-package=libcigicl1-dbg

override_dh_installdocs:
	dh_installdocs --link-doc=libcigicl1 --exclude=license.html

override_dh_clean:
	dh_clean
	rm -f scripting/__init__.py
	rm -f scripting/cigi.py
	rm -rf scripting/python/cigi.egg-info
	rm -f scripting/swig_wrap.cpp