projects
/
super-star-trek.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bc69fb7
)
Improve the archive maker.
author
Eric S. Raymond
<esr@thyrsus.com>
Sat, 18 Feb 2017 20:13:24 +0000
(15:13 -0500)
committer
Eric S. Raymond
<esr@thyrsus.com>
Sat, 18 Feb 2017 20:13:24 +0000
(15:13 -0500)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 36e5a7c2f56231997306ecac348a3df361317fbe..5645a0676e5c6b8117ad4ffa890ec250c0c5d193 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,6
+1,6
@@
# Makefile for the SST2K project
# Makefile for the SST2K project
-VERS=$(shell sed <sst.py -n -e '/version *=
*\(.*\)
/s//\1/p')
+VERS=$(shell sed <sst.py -n -e '/version *=
\"*\(.*\)\"
/s//\1/p')
MANDIR=/usr/share/man/man1
BINDIR=/usr/bin
MANDIR=/usr/share/man/man1
BINDIR=/usr/bin
@@
-21,11
+21,7
@@
sst.html: doc/sst.xml
cd doc; xmlto html-nochunks sst.xml; mv sst.html ..
sst-$(VERS).tar.gz: $(SOURCES) sst.6
cd doc; xmlto html-nochunks sst.xml; mv sst.html ..
sst-$(VERS).tar.gz: $(SOURCES) sst.6
- mkdir sst-$(VERS)
- cp $(SOURCES) sst-$(VERS)
- tar -czf sst-$(VERS).tar.gz sst-$(VERS)
- rm -fr sst-$(VERS)
- ls -l sst-$(VERS).tar.gz
+ tar --transform='s:^:sst-$(VERS)/:' --show-transformed-names -cvzf cvs-fast-export-$(VERS).tar.gz $(SOURCES) sst.6
dist: sst-$(VERS).tar.gz
dist: sst-$(VERS).tar.gz