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
2e0642ef
Commit
2e0642ef
authored
Sep 07, 2012
by
Dave Reisner
Browse files
makefile: use git archive for creating dist balls
Signed-off-by:
Dave Reisner
<
dreisner@archlinux.org
>
parent
1cf6e05b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
2e0642ef
...
...
@@ -93,23 +93,7 @@ uninstall:
.PHONY
:
dist
dist
:
@
echo
-e
"
$(
call
MSG1,Build abs-
$(ABS_VERSION)
release
)
"
@
echo
-e
"
$(
call
MSG2,Creating build directory
)
"
@
mkdir
$(BUILDDIR)
@
echo
-e
"
$(
call
MSG2,Copying files
)
"
@
cp
abs
$(BUILDDIR)
@
cp
AUTHORS
$(BUILDDIR)
@
cp
COPYING
$(BUILDDIR)
@
cp
Makefile
$(BUILDDIR)
@
cp
makeworld
$(BUILDDIR)
@
cp
README
$(BUILDDIR)
@
cp
-R
conf
$(BUILDDIR)
@
cp
-R
prototypes
$(BUILDDIR)
@
cp
-R
scripts
$(BUILDDIR)
@
echo
-e
"
$(
call
MSG2,Tarring files
)
"
@
tar
czf abs-
$(ABS_VERSION)
.tar.gz
$(BUILDDIR)
--transform
=
"s#^
$(BUILDDIR)
*#abs/#"
@
echo
-e
"
$(
call
MSG2,Removing build directory
)
"
@
rm
-rf
$(BUILDDIR)
git archive
--format
=
tar
--prefix
=
abs-
$(ABS_VERSION)
/
$(ABS_VERSION)
|
gzip
-9
>
abs-
$(ABS_VERSION)
.tar.gz
clean
:
$(RM)
$(scripts)
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