Debian Codegraph @

debian/rules

raw symbols SCIP
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 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
7 export DEB_CFLAGS_MAINT_APPEND = -std=gnu17
8 export DPKG_EXPORT_BUILDFLAGS = 1
9 include /usr/share/dpkg/buildflags.mk
10 include /usr/share/dpkg/buildtools.mk
11 CC_FOR_BUILD ?= cc
12
13 %:
14 dh $@
15
16 override_dh_auto_configure:
17 cp -f debian/config.h .
18
19 override_dh_auto_build:
20 dh_auto_build -- \
21 CFLAGS="$(CFLAGS)" \
22 CPPFLAGS="$(CPPFLAGS)" \
23 LDFLAGS="$(LDFLAGS)" \
24 LOCALCC=$(CC_FOR_BUILD)
25
26 override_dh_clean:
27 dh_clean
28 rm -f update.h
29 debconf-updatepo
30
31 override_dh_auto_clean:
32 cp -f debian/config.h .
33 dh_auto_clean
34 rm -f config.h
35
36 override_dh_auto_install:
37 dh_auto_install
38 DESTDIR=$(CURDIR)/debian/nn ./inst n
39 rm $(CURDIR)/debian/nn/usr/share/man/man1/nnacct.1m
40 rm $(CURDIR)/debian/nn/usr/share/man/man8/nnmaster.8
41 rm $(CURDIR)/debian/nn/usr/share/man/man8/nnspew.8
42 rmdir $(CURDIR)/debian/nn/usr/share/man/man8