Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2 # -*-makefile-*-
3 # debian/rules file for perl-tk
4
5 DPKG_EXPORT_BUILDFLAGS = 1
6 include /usr/share/dpkg/buildflags.mk
7
8 PERL ?= /usr/bin/perl
9
10 package := $(firstword $(shell dh_listpackages))
11 prefix := $(CURDIR)/debian/$(package)
12
13 % :
14 dh $@
15
16 override_dh_auto_clean:
17 rm -f $$(cat debian/generated-files.txt)
18 dh_auto_clean
19
20 override_dh_auto_configure:
21 dh_auto_configure -- XFT=1 INSTALLDIRS=vendor X11LIB=/usr/lib/$(DEB_HOST_MULTIARCH) PERL=$(PERL)
22 : # uncomment the following lines to enforce gcc-15
23 #for f in $$(find . -name Makefile); do \
24 # sed -i 's/[-a-zA-Z0-9_]*-linux-gnu-gcc/gcc-15/' $$f; \
25 #done
26
27
28 override_dh_auto_build:
29 $(MAKE) LD_RUN_PATH= OPTIMIZE="$(CFLAGS)"
30
31 override_dh_auto_install:
32 $(MAKE) pure_install DESTDIR=$(prefix)
33 rm -rf $(prefix)/usr/bin/gedi
34
35 override_dh_auto_test:
36 # xvfb-run -a dh_auto_test
37 echo "tests are partially broken, probably due to changes introduced by debian/patches/gcc-15.patch"