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