diff options
author | Joshua C. Randall | 2014-10-30 16:40:20 +0000 |
---|---|---|
committer | Joshua C. Randall | 2014-10-30 16:40:20 +0000 |
commit | 60b90f95148f971cae7d65e5f6642bc8e9d29d6f (patch) | |
tree | 165ac35c88573fcc0b4e76b951bc4fa3635c63a9 /Makefile | |
parent | f1b80da01aa20498c7efd18b19df094f32661d8f (diff) | |
download | pangemma-60b90f95148f971cae7d65e5f6642bc8e9d29d6f.tar.gz |
makes dist tar file not explode into ./
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -18,6 +18,7 @@ WITH_LAPACK = 1 FORCE_32BIT = FORCE_DYNAMIC = FORCE_FLOAT = +DIST_NAME = gemma-0.95alpha # -------------------------------------------------------------------- # Edit below this line with caution @@ -106,6 +107,14 @@ $(OBJS) : $(HDR) clean: rm -rf ${SRC_DIR}/*.o ${SRC_DIR}/*~ *~ ${SRC_DIR}/*_float.* + +DIST_COMMON = COPYING.txt README.txt Makefile +DIST_SUBDIRS = src doc example bin + tar: - tar cvzf gemma-0.93.tar.gz COPYING.txt README.txt Makefile src doc example bin + mkdir -p ./$(DIST_NAME) + cp $(DIST_COMMON) ./$(DIST_NAME)/ + cp -r $(DIST_SUBDIRS) ./$(DIST_NAME)/ + tar cvzf $(DIST_NAME).tar.gz ./$(DIST_NAME)/ + rm -r ./$(DIST_NAME) |