Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 export DEB_BUILD_MAINT_OPTIONS := hardening=+all
4 DPKG_EXPORT_BUILDFLAGS = 1
5 include /usr/share/dpkg/buildflags.mk
6
7 export CFLAGS:=$(CPPFLAGS) $(CFLAGS)
8
9 %:
10 dh $@ --sourcedirectory=src
11
12 # The build target "linux" generates a single chuck executable with
13 # support for multiple sound systems: alsa, pulse, and jack.
14 #
15 # CHUCK_STRICT=1 just turns on -Wall.
16 #
17 # Can add CHUCK_DEBUG=y here if desired. It does three things:
18 # - include -g
19 # - do not include -O3
20 # - enable memory allocation debugging support
21 override_dh_auto_build: debian/chuck.1
22 dh_auto_build -- CHUCK_STRICT=1 linux
23
24 debian/chuck.1: debian/chuck.sgml
25 docbook-to-man $< > $@
26
27 override_dh_installchangelogs:
28 dh_installchangelogs VERSIONS
29
30 execute_after_dh_installexamples:
31 @echo "Symbolic link duplicate audio files."
32 -jdupes --recurse --link-soft $(CURDIR)/debian/chuck-data/usr/share/doc/chuck-data/examples
33
34 override_dh_compress:
35 dh_compress -X.wav -X.ck
36
37 execute_after_dh_fixperms:
38 -find $(CURDIR)/debian/chuck-data/usr/share/doc/chuck-data/examples/ -type f -exec chmod --changes 644 '{}' '+'