Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
abs
Commits
15361181
Commit
15361181
authored
Apr 17, 2011
by
matt mooney
Committed by
Allan McRae
Jul 02, 2011
Browse files
Makefile: add formatting variables and macros
Signed-off-by:
matt mooney
<
mfm@muteddisk.com
>
parent
ccdbc716
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
15361181
...
...
@@ -5,6 +5,17 @@ CONFDIR = /etc/
PROTOTYPEDIR
=
/usr/share/pacman/
DESTDIR
=
$$
PWD
#### Output formatting ####
SPC
=
\x
20
RST
=
\e
[
0m
BOLD
=
\e
[
1m
RED
=
\e
[
1
;
31m
YLW
=
\e
[
1
;
33m
IND1
=
$(RED)
===
$(SPC)$(RST)
IND2
=
$(YLW)$(SPC)
=>
$(SPC)$(RST)
MSG1
=
$(IND1)$(BOLD)$(1)$(SPC)$(IND1)
MSG2
=
$(IND2)$(BOLD)$(1)$(RST)
.PHONY
:
prepare
prepare
:
sed
-i
-e
's#%%ABS_VERSION%%#
$(ABS_VERSION)
#g'
\
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment