File: rules

package info (click to toggle)
rhvoice 1.14.0-3
  • links: PTS, VCS
  • area: non-free
  • in suites: forky, sid
  • size: 803,312 kB
  • sloc: cpp: 50,834; ansic: 6,748; python: 5,886; perl: 2,411; xml: 1,908; makefile: 304; sh: 265; lisp: 141; awk: 65
file content (32 lines) | stat: -rwxr-xr-x 556 bytes parent folder | download | duplicates (4)
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
#!/usr/bin/make -f

include /usr/share/dpkg/default.mk

SCONS=scons

%:
	dh $@

override_dh_auto_configure:
	:

override_dh_auto_build:
	$(SCONS) prefix="/usr" sysconfdir="/etc" libdir="/usr/lib/$(DEB_HOST_MULTIARCH)" \
		CPPFLAGS="$(CPPFLAGS)" \
		CC="$(CC)" \
		CFLAGS="$(CFLAGS)" \
		CXX="$(CXX)" \
		CXXFLAGS="$(CXXFLAGS)" \
		LINKFLAGS="$(LDFLAGS)" \
		enable_sonic=True

#		enable_pkg=True

override_dh_auto_clean:
	dh_auto_clean
	$(SCONS) -c
	rm -fr $(CURDIR)/build
	py3clean .

override_dh_auto_install:
	scons DESTDIR=$(CURDIR)/debian/tmp install