Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3 # Sample debian/rules that uses debhelper.
4 # GNU copyright 1997 to 1999 by Joey Hess.
5 # Modified by Thaddeus H. Black for debram.
6
7 outscip-debian debian debram 2.3.0+nmu1 debram/rules/out. := debram
8 out_datascip-debian debian debram 2.3.0+nmu1 debram/rules/out_data. := $(outscip-debian debian debram 2.3.0+nmu1 debram/rules/out.)-data
9 docdatascip-debian debian debram 2.3.0+nmu1 debram/rules/docdata. := docdata
10
11 # Uncomment this to turn on verbose mode.
12 #export DH_VERBOSE=1
13
14 export DEBRAM_OPTIM_LVLscip-debian debian debram 2.3.0+nmu1 debram/rules/DEBRAM_OPTIM_LVL.
15 ifneq (,$(findstringscip-debian debian debram 2.3.0+nmu1 debram/rules/findstring. noopt,$(DEB_BUILD_OPTIONSscip-debian debian debram 2.3.0+nmu1 debram/rules/DEB_BUILD_OPTIONS.)))
16 DEBRAM_OPTIM_LVL := -O0
17 else
18 DEBRAM_OPTIM_LVL := -O2
19 endif
20
21 # The next line means to satisfy a Lintian warning.
22 # It serves no other purpose.
23 CFLAGSscip-debian debian debram 2.3.0+nmu1 debram/rules/CFLAGS. := $(shellscip-debian debian debram 2.3.0+nmu1 debram/rules/shell. dpkg-buildflags --get CFLAGS)
24
25 build-archscip-debian debian debram 2.3.0+nmu1 debram/rules/build-arch().: build-arch-stamp
26 build-arch-stampscip-debian debian debram 2.3.0+nmu1 debram/rules/build-arch-stamp().:
27 dh_testdirscip-debian debian debhelper . dh_testdir().
28 $(MAKEscip-debian debian debram 2.3.0+nmu1 debram/rules/MAKE.)
29 $(MAKEscip-debian debian debram 2.3.0+nmu1 debram/rules/MAKE.) -C src arch.dat # generate placeholding data
30 touch build-arch-stamp
31
32 build-indepscip-debian debian debram 2.3.0+nmu1 debram/rules/build-indep().: build-indep-stamp
33 build-indep-stampscip-debian debian debram 2.3.0+nmu1 debram/rules/build-indep-stamp().:
34 dh_testdirscip-debian debian debhelper . dh_testdir().
35 touch build-indep-stamp
36
37 buildscip-debian debian debram 2.3.0+nmu1 debram/rules/build().: build-arch build-indep
38
39 cleanscip-debian debian debram 2.3.0+nmu1 debram/rules/clean().:
40 dh_testdirscip-debian debian debhelper . dh_testdir().
41 dh_testrootscip-debian debian debhelper . dh_testroot().
42 rm -f build-arch-stamp build-indep-stamp build-stamp
43 [ ! -f Makefile ] || $(MAKEscip-debian debian debram 2.3.0+nmu1 debram/rules/MAKE.) clean
44 [ ! -f src/Makefile ] || $(MAKEscip-debian debian debram 2.3.0+nmu1 debram/rules/MAKE.) -C src clean # clean the placeholder
45 dh_cleanscip-debian debian debhelper . dh_clean().
46
47 installscip-debian debian debram 2.3.0+nmu1 debram/rules/install().: install-indep install-binary
48 install-indepscip-debian debian debram 2.3.0+nmu1 debram/rules/install-indep().: DH_OPTIONS=
49 install-indepscip-debian debian debram 2.3.0+nmu1 debram/rules/install-indep().: build-indep
50 dh_testdirscip-debian debian debhelper . dh_testdir().
51 dh_testrootscip-debian debian debhelper . dh_testroot().
52 dh_prepscip-debian debian debhelper . dh_prep().
53 dh_installdirsscip-debian debian debhelper . dh_installdirs().
54 #dh_installscip-debian debian debhelper . dh_install(). src/$(out) usr/bin
55 install-archscip-debian debian debram 2.3.0+nmu1 debram/rules/install-arch().: DH_OPTIONS=
56 install-archscip-debian debian debram 2.3.0+nmu1 debram/rules/install-arch().: build-arch
57 dh_testdirscip-debian debian debhelper . dh_testdir().
58 dh_testrootscip-debian debian debhelper . dh_testroot().
59 dh_prepscip-debian debian debhelper . dh_prep().
60 #dh_installdirsscip-debian debian debhelper . dh_installdirs(). # (This line should be uncommented once the next line is deleted.)
61 dh_installdirsscip-debian debian debhelper . dh_installdirs(). usr/lib/$(outscip-debian debian debram 2.3.0+nmu1 debram/rules/out.) # for placeholding data
62 #dh_installscip-debian debian debhelper . dh_install(). src/$(out) usr/bin
63
64 # Build architecture-independent files here.
65 # Pass -i to all debhelper commands in this target to reduce clutter.
66 binary-indepscip-debian debian debram 2.3.0+nmu1 debram/rules/binary-indep().: build-indep install-indep
67 dh_testdirscip-debian debian debhelper . dh_testdir(). -i
68 dh_testrootscip-debian debian debhelper . dh_testroot(). -i
69 #dh_installscip-debian debian debhelper . dh_install(). -i $(docdata)/$(out).txt usr/share/$(out_data)
70 dh_installdocsscip-debian debian debhelper . dh_installdocs(). -i
71 dh_installchangelogsscip-debian debian debhelper . dh_installchangelogs(). -i
72 dh_lintianscip-debian debian debhelper . dh_lintian().
73 dh_strip_nondeterminismscip-debian debian debhelper . dh_strip_nondeterminism().
74 dh_compressscip-debian debian debhelper . dh_compress(). -i -A #usr/share/$(out_datascip-debian debian debram 2.3.0+nmu1 debram/rules/out_data.)/$(outscip-debian debian debram 2.3.0+nmu1 debram/rules/out.).txt
75 #dh_linkscip-debian debian debhelper . dh_link(). -i usr/share/$(out_data)/$(out).txt.gz \
76 # usr/share/doc/$(out_data)/$(out).txt.gz
77 dh_fixpermsscip-debian debian debhelper . dh_fixperms(). -i
78 dh_installdebscip-debian debian debhelper . dh_installdeb(). -i
79 dh_gencontrolscip-debian debian debhelper . dh_gencontrol(). -i
80 dh_md5sumsscip-debian debian debhelper . dh_md5sums(). -i
81 dh_builddebscip-debian debian debhelper . dh_builddeb(). -i
82
83 # Build architecture-dependent files here.
84 binary-archscip-debian debian debram 2.3.0+nmu1 debram/rules/binary-arch().: build-arch install-arch
85 dh_testdirscip-debian debian debhelper . dh_testdir(). -a
86 dh_testrootscip-debian debian debhelper . dh_testroot(). -a
87 dh_installscip-debian debian debhelper . dh_install(). src/arch.dat usr/lib/$(outscip-debian debian debram 2.3.0+nmu1 debram/rules/out.) # placeholding data
88 dh_installdocsscip-debian debian debhelper . dh_installdocs(). -a
89 dh_installchangelogsscip-debian debian debhelper . dh_installchangelogs(). -a
90 #for DOC in \
91 # $(out).txt \
92 # $$( sed -ne 's/^$(docdata)\///p' debian/$(out_data).docs ) \
93 #; do \
94 # dh_linkscip-debian debian debhelper . dh_link(). -a usr/share/doc/$(out_data)/$${DOC}.gz \
95 # usr/share/doc/$(out)/$${DOC}.gz ; \
96 #done
97 for DOC in \
98 $$( sed -ne 's/^$(docdatascip-debian debian debram 2.3.0+nmu1 debram/rules/docdata.)\///p' debian/$(out_datascip-debian debian debram 2.3.0+nmu1 debram/rules/out_data.).docs ) \
99 ; do \
100 dh_linkscip-debian debian debhelper . dh_link(). -a usr/share/doc/$(out_datascip-debian debian debram 2.3.0+nmu1 debram/rules/out_data.)/$${DOC}.gz \
101 usr/share/doc/$(outscip-debian debian debram 2.3.0+nmu1 debram/rules/out.)/$${DOC}.gz ; \
102 done
103 dh_linkscip-debian debian debhelper . dh_link(). -a usr/share/doc/$(out_datascip-debian debian debram 2.3.0+nmu1 debram/rules/out_data.)/README \
104 usr/share/doc/$(outscip-debian debian debram 2.3.0+nmu1 debram/rules/out.)/README
105 #dh_installmanscip-debian debian debhelper . dh_installman(). -a
106 dh_lintianscip-debian debian debhelper . dh_lintian().
107 dh_stripscip-debian debian debhelper . dh_strip(). -a
108 dh_strip_nondeterminismscip-debian debian debhelper . dh_strip_nondeterminism().
109 dh_compressscip-debian debian debhelper . dh_compress(). -a -A
110 #dh_linkscip-debian debian debhelper . dh_link(). -a usr/share/$(out_data)/$(out).txt.gz \
111 # usr/share/$(out)/$(out).txt.gz
112 dh_fixpermsscip-debian debian debhelper . dh_fixperms(). -a
113 dh_installdebscip-debian debian debhelper . dh_installdeb(). -a
114 dh_shlibdepsscip-debian debian debhelper . dh_shlibdeps(). -a
115 dh_gencontrolscip-debian debian debhelper . dh_gencontrol(). -a
116 dh_md5sumsscip-debian debian debhelper . dh_md5sums(). -a
117 dh_builddebscip-debian debian debhelper . dh_builddeb(). -a
118
119 binaryscip-debian debian debram 2.3.0+nmu1 debram/rules/binary().: binary-indep binary-arch
120 .PHONYscip-debian debian debram 2.3.0+nmu1 debram/rules/`.PHONY`().: build clean binary-indep binary-arch binary install-indep install-arch install