Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 OCAMLABIscip-makefile . . . OCAMLABI. := $(shell ocamlc -version)
4
5 cleanscip-makefile . . . clean/:
6 dh_testdir
7 dh_testroot
8 rm -f build-stamp
9 rm -rf $(CURDIRscip-makefile . . . CURDIR.)/build
10 dh_clean
11
12 buildscip-makefile . . . build/: build-archscip-makefile . . . build-arch/
13 build-indepscip-makefile . . . build-indep/:
14 build-archscip-makefile . . . build-arch/: build-stampscip-makefile . . . build-stamp/
15
16 VENDORscip-makefile . . . VENDOR. := /tmp/0install-build-vendor
17 OCAMLPATHscip-makefile . . . OCAMLPATH. := $(VENDORscip-makefile . . . VENDOR.)/lib
18
19 build-stampscip-makefile . . . build-stamp/:
20 dh_testdir
21 mv vendor/lwt_glib-1.1.1 . && dune build --release @lwt_glib-1.1.1/install && dune install --release --prefix=$(VENDORscip-makefile . . . VENDOR.) lwt_glib && rm -rf lwt_glib-1.1.1
22 if [ -x /usr/bin/ocamlopt ]; then \
23 make OCAMLPATH=$(OCAMLPATHscip-makefile . . . OCAMLPATH.) TYPE=native; \
24 else \
25 make OCAMLPATH=$(OCAMLPATHscip-makefile . . . OCAMLPATH.) all TYPE=byte; \
26 fi
27 rm -rf /tmp/0install-build-vendor
28 touch $@scip-makefile . . . `@`.
29
30 installscip-makefile . . . install/: build-stampscip-makefile . . . build-stamp/
31 dh_testdir
32 dh_testroot
33 dh_prep
34 dh_installdirs
35 $(CURDIRscip-makefile . . . CURDIR.)/dist/install.sh $(CURDIRscip-makefile . . . CURDIR.)/debian/0install-core/usr
36 mkdir -p $(CURDIRscip-makefile . . . CURDIR.)/debian/0install/usr/lib/0install.net
37 mkdir -p $(CURDIRscip-makefile . . . CURDIR.)/debian/0install/usr/share/applications
38 mv $(CURDIRscip-makefile . . . CURDIR.)/debian/0install-core/usr/lib/0install.net/gui_gtk.* $(CURDIRscip-makefile . . . CURDIR.)/debian/0install/usr/lib/0install.net/
39 mv $(CURDIRscip-makefile . . . CURDIR.)/debian/0install-core/usr/share/applications/0install.desktop $(CURDIRscip-makefile . . . CURDIR.)/debian/0install/usr/share/applications/
40 rmdir $(CURDIRscip-makefile . . . CURDIR.)/debian/0install-core/usr/lib/0install.net
41 rmdir $(CURDIRscip-makefile . . . CURDIR.)/debian/0install-core/usr/lib
42 mv $(CURDIRscip-makefile . . . CURDIR.)/debian/0install-core/usr/share/zsh/site-functions $(CURDIRscip-makefile . . . CURDIR.)/debian/0install-core/usr/share/zsh/vendor-completions
43 rm -r $(CURDIRscip-makefile . . . CURDIR.)/debian/0install-core/usr/share/doc/0install
44 if [ -x /usr/bin/ocamlopt ]; then \
45 dh_strip; dh_shlibdeps; \
46 fi
47
48 binary-archscip-makefile . . . binary-arch/: build-stampscip-makefile . . . build-stamp/ installscip-makefile . . . install/
49 dh_testdir
50 dh_testroot
51 dh_installchangelogs -p 0install-core
52 dh_installdocs -a --link-doc=0install-core
53 dh_installman -a
54 dh_compress -a
55 dh_fixperms -a
56 #dh_ocaml (not for -custom bytecode)
57 dh_installdeb -a
58 dh_gencontrol -a
59 dh_md5sums -a
60 dh_builddeb -a
61
62 binary-indepscip-makefile . . . binary-indep/:
63 dh_testdir
64 dh_testroot
65 dh_installdocs -i --link-doc=0install-core
66 dh_fixperms -i
67 dh_installdeb -i
68 dh_gencontrol -i
69 dh_md5sums -i
70 dh_builddeb -i
71
72 binaryscip-makefile . . . binary/: binary-indepscip-makefile . . . binary-indep/ binary-archscip-makefile . . . binary-arch/
73
74 .PHONYscip-makefile . . . `.PHONY`/: buildscip-makefile . . . build/ cleanscip-makefile . . . clean/ binaryscip-makefile . . . binary/-indepscip-makefile . . . binary-indep/ binaryscip-makefile . . . binary/-archscip-makefile . . . binary-arch/ binaryscip-makefile . . . binary/ installscip-makefile . . . install/