Skip to content

Commit

Permalink
Prepared for v0.7.0 release
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Papior <nickpapior@gmail.com>
  • Loading branch information
zerothi committed Feb 28, 2017
1 parent 39b7a96 commit b172d25
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions Makefile.project
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ _SMEKA_project = 1

# Step this version upon new versions
PROJECT_MAJOR = 0
PROJECT_MINOR = 6
PROJECT_MINOR = 7
PROJECT_MICRO = 0
PROJECT_VERSION = $(PROJECT_MAJOR).$(PROJECT_MINOR).$(PROJECT_MICRO)

Expand Down Expand Up @@ -53,6 +53,28 @@ install-mod:
endif


# Create distribution for releases
.PHONY: dist-aotus dist-flook dist-assemble dist
dist-aotus:
git submodule sync aotus
git submodule init aotus
git submodule update aotus
(cd aotus ; git archive --format=tar.gz --prefix aotus/ HEAD > ../aotus.tar.gz)

dist-flook:
git archive --format=tar.gz --prefix flook-$(PROJECT_VERSION)/ HEAD > flook-$(PROJECT_VERSION).tar.gz

dist-assemble: dist-aotus dist-flook
-rm -rf .tmp_dist
(mkdir .tmp_dist ; cd .tmp_dist ; \
tar xfz ../flook-$(PROJECT_VERSION).tar.gz ; cd flook-* ; \
tar xfz ../../aotus.tar.gz ; \
cd .. ; rm ../flook-$(PROJECT_VERSION).tar.gz ; \
tar cfz ../flook-$(PROJECT_VERSION).tar.gz flook-$(PROJECT_VERSION) ; \
rm -rf .tmp_dist ../aotus.tar.gz)

dist: dist-assemble

.PHONY: doc
doc:
doxygen doc/Doxyfile
Expand All @@ -63,7 +85,6 @@ clean:
-rm -f $(FLOOK_LIB_STATIC) $(FLOOK_LIB_SHARED)



# Local Variables:
# mode: makefile-gmake
# End:

0 comments on commit b172d25

Please sign in to comment.