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 export DH_VERBOSE = 1
5
6 # Ensure documentation builds do not vary based on locale
7 export LC_ALL = C.UTF-8
8
9 # see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
10 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
11 DPKG_EXPORT_BUILDFLAGS = 1
12 include /usr/share/dpkg/default.mk
13
14 # see FEATURE AREAS in dpkg-buildflags(1)
15
16 # see ENVIRONMENT in dpkg-buildflags(1)
17 # package maintainers to append CFLAGS
18 #export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
19 # package maintainers to append LDFLAGS
20 #export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
21
22 export ACLOCAL = aclocal -I .
23
24 # main packaging script based on dh7 syntax
25 %:
26 dh $@
27
28 override_dh_auto_install:
29 dh_auto_install
30 rm -v debian/hitch/usr/share/doc/hitch/CHANGES.rst
31 rm -v debian/hitch/usr/share/doc/hitch/hitch.conf.example
32
33 override_dh_auto_configure:
34 dh_auto_configure -- --enable-documentation --with-lex --with-yacc
35
36 override_dh_auto_test: