Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
abs
Commits
800abfe4
Commit
800abfe4
authored
Apr 17, 2011
by
matt mooney
Committed by
Allan McRae
Jul 02, 2011
Browse files
Makefile: use formatted output in release target
Signed-off-by:
matt mooney
<
mfm@muteddisk.com
>
parent
87e37464
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
800abfe4
...
...
@@ -80,15 +80,20 @@ uninstall:
.PHONY
:
release
release
:
mkdir
-p
$(BUILDDIR)
/abs
cp
Makefile
$(BUILDDIR)
/abs/
cp
abs
$(BUILDDIR)
/abs/
cp
makeworld
$(BUILDDIR)
/abs/
cp
README
$(BUILDDIR)
/abs/
cp
COPYING
$(BUILDDIR)
/abs/
cp
-R
conf
$(BUILDDIR)
/abs/
cp
-R
prototypes
$(BUILDDIR)
/abs/
cp
-R
scripts
$(BUILDDIR)
/abs/
cd
$(BUILDDIR)
&&
tar
czf abs-
$(ABS_VERSION)
.tar.gz
"abs/"
mv
$(BUILDDIR)
/abs-
$(ABS_VERSION)
.tar.gz .
rm
-rf
$(BUILDDIR)
@
echo
-e
"
$(
call
MSG1,Build abs-
$(ABS_VERSION)
release
)
"
@
echo
-e
"
$(
call
MSG2,Creating build directory
)
"
@
mkdir
-p
$(BUILDDIR)
/abs
@
echo
-e
"
$(
call
MSG2,Copying files
)
"
@
cp
Makefile
$(BUILDDIR)
/abs/
@
cp
abs
$(BUILDDIR)
/abs/
@
cp
makeworld
$(BUILDDIR)
/abs/
@
cp
README
$(BUILDDIR)
/abs/
@
cp
COPYING
$(BUILDDIR)
/abs/
@
cp
-R
conf
$(BUILDDIR)
/abs/
@
cp
-R
prototypes
$(BUILDDIR)
/abs/
@
cp
-R
scripts
$(BUILDDIR)
/abs/
@
echo
-e
"
$(
call
MSG2,Tarring files
)
"
@
cd
$(BUILDDIR)
&&
tar
czf abs-
$(ABS_VERSION)
.tar.gz
"abs/"
@
mv
$(BUILDDIR)
/abs-
$(ABS_VERSION)
.tar.gz .
@
echo
-e
"
$(
call
MSG2,Removing build directory
)
"
@
rm
-rf
$(BUILDDIR)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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