summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorleo2000-01-08 17:48:42 +0000
committerleo2000-01-08 17:48:42 +0000
commit59a23c02e8edfb9fea8273d6117d7891465997b1 (patch)
treebb8b985ec481198b0a71f332614f654bc5d944ea
parent9c51d896a487b7bc9ed4a6244e1d8c11bfa4b469 (diff)
The binary .tgz archive now creates a directory
git-svn-id: http://svn.leocad.org/trunk@52 c7d43263-9d01-0410-8a33-9dba5d9f93d6
-rw-r--r--Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 7705233..fd94b4c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
### $Id$
-### ALL CONFIGURATION SHOULD IN CONFIG.MK, NOT HERE
+### ALL CONFIGURATION SHOULD BE IN CONFIG.MK, NOT HERE
include config.mk
### Module directories
@@ -118,8 +118,15 @@ arch/leocad-$(VERSION)-linux.zip: arch all
zip -r $@ *.txt bin docs examples -x 'CVS/*' -x '*/CVS/*' -x '*/core'
arch/leocad-$(VERSION)-linux.tgz: arch all
+ mkdir leocad-$(VERSION)
+ cp bin/leocad leocad-$(VERSION)
+ cp CREDITS.txt leocad-$(VERSION)/CREDITS
+ cp README.txt leocad-$(VERSION)/README
+ cp docs/INSTALL.txt leocad-$(VERSION)/INSTALL
+ cp docs/LINUX.txt leocad-$(VERSION)/LINUX
rm -f $@
- tar --exclude=CVS -cvzf $@ *.txt bin docs examples --exclude=core
+ tar -cvzf $@ leocad-$(VERSION)
+ rm -rf leocad-$(VERSION)
arch/leocad-$(VERSION)-src.tgz: arch veryclean
rm -f $@