Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 # See debhelper(7) (uncomment to enable)
3 # output every command that modifies files on the build system.
4 #DH_VERBOSE = 1
5
6 # See dpkg-buildflags(1)
7 DPKG_EXPORT_BUILDFLAGS = 1
8 include /usr/share/dpkg/default.mk
9 #export DEB_BUILD_MAINT_OPTIONS = hardening=+all
10 export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
11 export DEB_LDFLAGS_MAINT_APPEND =
12
13 VALAFLAGS:=$(foreach w,$(CPPFLAGS) $(CFLAGS) $(LDFLAGS),-X $(w))
14
15 %:
16 dh $@
17
18 override_dh_autoreconf:
19 NOCONFIGURE=1 ./autogen.sh
20
21 execute_before_dh_auto_configure:
22 sed -i 's!<layout>jp</layout>!<layout>default</layout>!' src/kkc.xml.in.in
23
24 execute_after_dh_clean:
25 sed -i 's!<layout>default</layout>!<layout>jp</layout>!' src/kkc.xml.in.in