Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3
4 include /usr/share/dpkg/architecture.mk
5 DATADIR = /usr/lib/$(DEB_HOST_MULTIARCH)/espeak-ng-data
6
7 %:
8 dh $@
9
10 override_dh_autoreconf:
11 ifneq ($(SOURCE_DATE_EPOCH),)
12 # Fix their time after being patched by debian/patches/privacy
13 touch -t $(shell date +"%Y%m%d%H%M.%S" --date=@$(SOURCE_DATE_EPOCH)) README.md docs/building.md docs/languages/gmw/lb.md
14 endif
15 dh_autoreconf ./autogen.sh
16
17 override_dh_auto_configure:
18 dh_auto_configure -- --without-speechplayer
19
20 override_dh_auto_build:
21 dh_auto_build -- DATADIR=$(DATADIR)
22 LC_ALL=C.UTF-8 $(MAKE) docs
23
24 override_dh_auto_install:
25 dh_auto_install -- DATADIR=$(DATADIR)
26
27 override_dh_auto_test:
28 dh_auto_test --no-parallel
29
30 override_dh_install:
31 dh_install
32 mkdir $(CURDIR)/debian/espeak-ng-data-udeb
33 [ ! -d $(CURDIR)/debian/espeak-ng-data/usr ] || cp -al $(CURDIR)/debian/espeak-ng-data/usr $(CURDIR)/debian/espeak-ng-data-udeb
34 rm -fr $(CURDIR)/debian/espeak-ng-data-udeb/usr/share