projects
/
physics.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
55e5393
)
change tar system, basic would fail as it does not include needed directories or...
author
Patrik Gornicz
<Gornicz.P@gmail.com>
Tue, 19 Aug 2008 21:47:36 +0000
(17:47 -0400)
committer
Patrik Gornicz
<Gornicz.P@gmail.com>
Tue, 19 Aug 2008 21:47:36 +0000
(17:47 -0400)
src/Makefile
patch
|
blob
|
blame
|
history
diff --git
a/src/Makefile
b/src/Makefile
index
7e6abee
..
aca5527
100644
(file)
--- a/
src/Makefile
+++ b/
src/Makefile
@@
-116,15
+116,11
@@
tags: ${SRCS}
ctags $^
.PHONY: tar
ctags $^
.PHONY: tar
-tar:
- ${Q1}echo "tar: physics.tar.bz2"
- ${Q2}rm -f physics.tar # prevents appending
- ${Q2}for f in ${TARS}; do\
- tar -C ../.. -rf physics.tar "physics/src/$$f"; done
- ${Q2}bzip2 physics.tar
-
-.PHONY: git-tar
-git-tar:
+tar: ../physics.tar.bz2
+
+.PHONY: ../physics.tar.bz2
+../physics.tar.bz2:
+ @echo "git-archive: Warning, archives HEAD not current"
${Q1}echo "git-archive: ../physics.tar.bz2"
${Q2}cd ..; git-archive --prefix=physics/ HEAD | bzip2 > physics.tar.bz2
${Q1}echo "git-archive: ../physics.tar.bz2"
${Q2}cd ..; git-archive --prefix=physics/ HEAD | bzip2 > physics.tar.bz2