Debian Codegraph @

GNUmakefile

raw symbols SCIP
1 # Copyright (C) 2008, 2011, 2017 Rocky Bernstein <[email protected]>
2 #
3 # This program is free software: you can redistribute it and/or modify
4 # it under the terms of the GNU General Public License as published by
5 # the Free Software Foundation, either version 3 of the License, or
6 # (at your option) any later version.
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # GNU General Public License for more details.
12 #
13 # You should have received a copy of the GNU General Public License
14 # along with this program. If not, see <http://www.gnu.org/licenses/>.
15
16 # PREREQ_PM => { Test::More=>q[0], version=>q[0], ExtUtils::PkgConfig=>q[1.03] }
17
18 # Note: remake (GNU make with debugging) has a --tasks option which
19 # will show important targets. In remake, to give a target a
20 # user-friendly description, one starts a comment line with #:
21
22 GIT2CL ?= git2cl
23
24 #: Build everything
25 all: ./Build
26 perl ./Build --makefile_env_macros 1
27
28 #: Build program, e.g. compile C programs
29 build: ./Build
30 perl ./Build --makefile_env_macros 1 build
31
32 #: Create Perl Build program via Module::Build
33 ./Build: ./Build.PL
34 perl ./Build.PL
35
36 #: create Makefile from Makefile.PL
37 Makefile: Makefile.PL
38 perl Makefile.PL
39
40 #: create Makefile.PL from Build
41 Makefile: Build
42
43 #: Remove automatically generated files
44 clean:
45 rm *.o *.so *.c || true
46 perl ./Build --makefile_env_macros 1 clean
47
48 code:
49 perl Build --makefile_env_macros 1 code
50
51 config_data:
52 perl ./Build --makefile_env_macros 1 config_data
53
54 diff:
55 perl ./Build --makefile_env_macros 1 diff
56
57 #: Create distribution tarball
58 dist:
59 perl ./Build --makefile_env_macros 1 dist
60
61 distcheck: Makefile
62 perl ./Build --makefile_env_macros 1 distcheck
63
64 distclean:
65 perl ./Build --makefile_env_macros 1 distclean
66
67 distdir:
68 perl ./Build --makefile_env_macros 1 distdir
69
70 distmeta:
71 perl ./Build --makefile_env_macros 1 distmeta
72
73 distsign:
74 perl ./Build --makefile_env_macros 1 distsign
75
76 disttest:
77 perl ./Build --makefile_env_macros 1 disttest
78
79 #: Create documentation (in blib/libdoc) via perlpod
80 docs:
81 perl ./Build --makefile_env_macros 1 docs
82
83 fakeinstall:
84 perl ./Build --makefile_env_macros 1 fakeinstall
85
86 #: Show help
87 help:
88 perl ./Build --makefile_env_macros 1 help
89
90 html:
91 perl ./Build --makefile_env_macros 1 html
92
93 #: Install this puppy
94 install:
95 perl ./Build --makefile_env_macros 1 install
96
97 #: Install other Perl packages that this package needs
98 installdeps:
99 perl ./Build --makefile_env_macros 1 installdeps
100
101 #: Make a MANIFEST file
102 manifest:
103 perl ./Build --makefile_env_macros 1 manifest
104
105 #: Generate manual pages
106 manpages:
107 perl ./Build --makefile_env_macros 1 manpages
108
109 ppd:
110 perl ./Build --makefile_env_macros 1 ppd
111
112 ppmdist:
113 perl ./Build --makefile_env_macros 1 ppmdist
114
115 prereq_report:
116 perl ./Build --makefile_env_macros 1 prereq_report
117
118 pure_install:
119 perl ./Build --makefile_env_macros 1 pure_install
120
121 skipcheck :
122 perl ./Build --makefile_env_macros 1 skipcheck
123
124 #: Same as "test". "check" is the usual autoconf name
125 check: test
126
127 #: Run all unit tests
128 test: Build
129 perl ./Build --makefile_env_macros 1 test
130
131 #: Check code coverage
132 testcover:
133 perl ./Build --makefile_env_macros 1 testcover
134
135 #: Remove change log: ChangeLog
136 rmChangeLog:
137 rm ChangeLog || true
138
139 #: Create a ChangeLog from git via git log and git2cl
140 ChangeLog: rmChangeLog
141 git log --pretty --numstat --summary | $(GIT2CL) >$@
142
143 #: Calling perl debugger (perldb) on each test
144 testdb:
145 perl ./Build --makefile_env_macros 1 testdb
146
147 testpod:
148 perl ./Build --makefile_env_macros 1 testpod
149
150 testpodcoverage:
151 perl ./Build --makefile_env_macros 1 testpodcoverage
152
153 versioninstall:
154 perl ./Build --makefile_env_macros 1 versioninstall
155
156 .EXPORT: INC PREFIX DESTDIR VERBINST INSTALLDIRS TEST_VERBOSE LIB UNINST INSTALL_BASE POLLUTE
157
158 .PHONY: all realclean build clean check test testcover testdb testpod testpodcoverage