Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 # Avoid unneeded library dependencies reported by dpkg-shlibdeps.
4 DEB_LDFLAGS_MAINT_APPENDscip-debian debian asymptote 3.11+ds-1 asymptote/rules/DEB_LDFLAGS_MAINT_APPEND. := -Wl,--as-needed
5 DEB_BUILD_MAINT_OPTIONSscip-debian debian asymptote 3.11+ds-1 asymptote/rules/DEB_BUILD_MAINT_OPTIONS. := hardening=+all
6
7 include /usr/share/dpkg/architecture.mk
8 include /usr/share/dpkg/buildflags.mk
9 include /usr/share/dpkg/pkg-info.mk
10
11 #ifeq ($(DEB_HOST_ARCH), hurd-i386)
12 # LSPSERVER=--disable-lsp
13 #endif
14
15 %scip-debian debian asymptote 3.11+ds-1 asymptote/rules/`%`().:
16 dh $@ --with python3
17
18 override_dh_auto_configurescip-debian debian asymptote 3.11+ds-1 asymptote/rules/override_dh_auto_configure().:
19 dh_auto_configurescip-debian debian debhelper . dh_auto_configure(). -- --enable-gc=system \
20 --with-latex=/usr/share/texmf/tex/latex \
21 --with-context=/usr/share/texmf/tex/context/third $(LSPSERVERscip-debian debian asymptote 3.11+ds-1 asymptote/rules/LSPSERVER.)\
22 $(foreach v,CFLAGS CPPFLAGS CXXFLAGS LDFLAGS,'$(v)=$($(vscip-debian debian asymptote 3.11+ds-1 asymptote/rules/`$(v`.))')
23
24 # Avoid a warning every time asy is run if HOME is unset.
25 export ASYMPTOTE_HOMEscip-debian debian asymptote 3.11+ds-1 asymptote/rules/ASYMPTOTE_HOME. := $(CURDIRscip-debian debian asymptote 3.11+ds-1 asymptote/rules/CURDIR.)/debian/tmp_asymptote_home
26 override_dh_auto_configurescip-debian debian asymptote 3.11+ds-1 asymptote/rules/override_dh_auto_configure().: | $(ASYMPTOTE_HOMEscip-debian debian asymptote 3.11+ds-1 asymptote/rules/ASYMPTOTE_HOME.)
27 $(scip-debian debian asymptote 3.11+ds-1 asymptote/rules/`$(ASYMPTOTE_HOME)`().ASYMPTOTE_HOMEscip-debian debian asymptote 3.11+ds-1 asymptote/rules/ASYMPTOTE_HOME.)scip-debian debian asymptote 3.11+ds-1 asymptote/rules/`$(ASYMPTOTE_HOME)`().:
28 mkdir $(ASYMPTOTE_HOMEscip-debian debian asymptote 3.11+ds-1 asymptote/rules/ASYMPTOTE_HOME.)
29
30 override_dh_auto_buildscip-debian debian asymptote 3.11+ds-1 asymptote/rules/override_dh_auto_build().:
31 make -j4 asy
32 make man
33 make all html
34 # fix location of images in info document
35 sed -e 's!image src="\([^"]*\)"!image src="/usr/share/doc/asymptote/html/\1"!g' < doc/png/asymptote.info > doc/png/asymptote.info.fixed
36 mv doc/png/asymptote.info.fixed doc/png/asymptote.info
37
38 override_dh_auto_installscip-debian debian asymptote 3.11+ds-1 asymptote/rules/override_dh_auto_install().:
39 make install-asy DESTDIR=$(CURDIRscip-debian debian asymptote 3.11+ds-1 asymptote/rules/CURDIR.)/debian/tmp
40 dh_installtexscip-debian debian debhelper . dh_installtex(). -pasymptote
41
42 #override_dh_auto_test:
43 # : do nothing here, otherwise make tries to compile prc/test.cc
44
45 override_dh_python3scip-debian debian asymptote 3.11+ds-1 asymptote/rules/override_dh_python3().:
46 dh_python3scip-debian debian debhelper . dh_python3(). -Nasymptote-x11
47 dh_python3scip-debian debian debhelper . dh_python3(). -pasymptote-x11 /usr/share/asymptote/GUI
48
49 override_dh_compressscip-debian debian asymptote 3.11+ds-1 asymptote/rules/override_dh_compress().:
50 dh_compressscip-debian debian debhelper . dh_compress(). -X.pdf
51
52 override_dh_fixpermsscip-debian debian asymptote 3.11+ds-1 asymptote/rules/override_dh_fixperms().:
53 dh_fixpermsscip-debian debian debhelper . dh_fixperms(). -X usr/share/asymptote/GUI/xasy.py
54
55 override_dh_cleanscip-debian debian asymptote 3.11+ds-1 asymptote/rules/override_dh_clean().:
56 dh_cleanscip-debian debian debhelper . dh_clean().
57 rm --force doc/*.aux doc/*.cp doc/*.cps doc/*.idx doc/*.ins doc/*.log doc/*.toc
58 rm -fr $(ASYMPTOTE_HOMEscip-debian debian asymptote 3.11+ds-1 asymptote/rules/ASYMPTOTE_HOME.)