File: rules

package info (click to toggle)
yaskkserv 1.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 1,008 kB
  • sloc: cpp: 11,973; perl: 702; sh: 191; makefile: 90
file content (28 lines) | stat: -rwxr-xr-x 638 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1

export DEB_LDFLAGS_MAINT_APPEND = -defs

# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1

%:
	dh $@ --with systemd

override_dh_auto_configure:
	./configure --prefix=$(CURDIR)/debian/yaskkserv/usr --compiler=g++ --enable-google-japanese-input --enable-google-suggest

override_dh_auto_clean:
	[ ! -f Makefile.config ] || $(MAKE) clean
	rm -rf Makefile.config
	rm -rf var/
#	dh_auto_clean

override_dh_shlibdeps:
	dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info

override_dh_auto_install:
	$(MAKE) install_all #clean