Commit b2289854 authored by Mathieu Giraud's avatar Mathieu Giraud
Browse files

algo/Makefile: remove unused duplicate 'make release'

parent 750a0b6f
......@@ -61,33 +61,3 @@ $(shell g++ -M $(MAINCORE) > dep.mk)
endif
include dep.mk
RELEASE_H = release.h
RELEASE_SOURCE = $(wildcard src/*.cpp) $(wildcard src/*.h) $(wildcard src/core/*.cpp) $(wildcard src/core/*.h)
RELEASE_FILES = $(RELEASE_SOURCE) src/Makefile germline/get-germline doc/README doc/LICENSE
RELEASE_ARCHIVE = vidjil-$(RELEASE_TAG).tgz
CURRENT_DIR = .
RELEASE_FILES_VID = $(addprefix $(CURRENT_DIR)/, $(RELEASE_FILES))
# make distrib RELEASE_TAG=2013.04alpha
distrib:
$(info ==== Release $(RELEASE_TAG) ====)
# Tag the release
git tag release-$(RELEASE_H)
echo '#define RELEASE_TAG "$(RELEASE_TAG)"' > $(RELEASE_H)
mkdir -p release
rm -f release/$(RELEASE_ARCHIVE)
cd .. ; tar cvfz $(CURRENT_DIR)/release/$(RELEASE_ARCHIVE) $(RELEASE_FILES_VID)
# Untag the source
rm $(RELEASE_H) ; touch $(RELEASE_H)
# Check archive
cd release ; tar xvfz $(RELEASE_ARCHIVE)
cd release/$(CURRENT_DIR) ; make
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment