forked from pagekite/Colormake
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcolormake.1
86 lines (84 loc) · 2.81 KB
/
colormake.1
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
.TH colormake 1 "July 2nd, 2001"
.SH NAME
colormake \- color wrapper for make(1)
.SH SYNOPSIS
\fBcolormake\fR [ \-\-short ] ...
.SH DESCRIPTION
colormake acts as a wrapper around make(1) to ease reading the output by
colorizing it.
.SH OPTIONS
The \-\-short option instructs colormake to truncate lines so they do not wrap.
All other options will be passed unmodified to \fBmake\fR(1).
.SH USAGE
To change a makefile to use colormake, you may change the path at the top which
normally reads \fB#!/usr/bin/make\fR to \fB#!/usr/bin/colormake\fR.
.PP
Alternately, you may type \fBcolormake\fR whenever you would normally type
\fBmake\fR when compiling programs.
.PP
Colormake is also available using the alternate names which enable piping
through less (\fBclmake\fR), truncated output so lines do not wrap
(\fBcolormake-short\fR), or both (\fBclmake-short\fR).
.SH FILES
The configuration files are Perl scripts included by \fBcolormake.pl\fR.
The defaults values are (from \fBcolormake.pl\fR itself):
.nf
# Some useful color codes, see end of file for more.
#
$col_black = "\\033[30m";
$col_red = "\\033[31m";
$col_green = "\\033[32m";
$col_yellow = "\\033[33m";
$col_blue = "\\033[34m";
$col_magenta = "\\033[35m";
$col_cyan = "\\033[36m";
$col_ltgray = "\\033[37m";
$col_norm = "\\033[00m";
$col_background = "\\033[07m";
$col_brighten = "\\033[01m";
$col_underline = "\\033[04m";
$col_blink = "\\033[05m";
# Customize colors here...
#
$col_default = $col_ltgray;
$col_gcc = $col_magenta . $col_brighten;
$col_make = $col_cyan;
$col_filename = $col_yellow;
$col_linenum = $col_cyan;
$col_trace = $col_yellow;
$col_warning = $col_green;
$tag_error = "";
$col_error = $tag_error . $col_yellow . $col_brighten;
$error_highlight = $col_brighten;
.fi
.PP
For use with gnome-terminal I have the following configuration in my
.I $HOME/.colormakerc
file:
.nf
$col_default = $col_black;
$col_gcc = $col_magenta;
$col_filename = $col_blue;
$col_linenum = $col_cyan;
$col_error = $tag_error . $col_red . $col_brighten;
.fi
.TP
.I /usr/share/colormake/colormake.rc
System-wide configuration file for colormake.
.TP
.I $HOME/.colormakerc
Personal configuration file for colormake.
.SH HISTORY
/usr/bin/colormake was formerly named /usr/bin/cmake but had to be renamed
because of a name clash.
.SH AUTHORS
Bjarni R. Einarsson is the author of colormake.
.PP
This manual page was written for the Debian GNU/Linux distribution because
the original program does not have a manual page.
.PP
This manual page was written by Joe Wreschnig <[email protected]> and
updated by Ludovic Rousseau <[email protected]>, for the
Debian GNU/Linux system (but may be used by others).
.SH SEE ALSO
\fBmake\fR\|(1), \fBclmake\fR\|(1)