Skip to content

Commit

Permalink
Allow to customize file name of make dist result.
Browse files Browse the repository at this point in the history
  • Loading branch information
crayxt committed Jul 3, 2014
1 parent a8545c0 commit 6ddefa8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ VERSDIR = v`cut -d. -f1-2 < VERSION`
INSTALL_F = install -pm644
INSTALL_M = install -pm755

#file name of make dist result
ifeq ($(JULIA_DIST_TARNAME),)
JULIA_DIST_TARNAME = julia-$(JULIA_COMMIT)-$(OS)-$(ARCH)
endif

all: default
default: release

Expand Down Expand Up @@ -281,7 +286,7 @@ ifeq ($(OS), WINNT)
cat ./contrib/windows/7zS.sfx ./contrib/windows/7zSFX-config.txt "julia-install-$(JULIA_COMMIT)-$(ARCH).7z" > "julia-${JULIA_VERSION}-${ARCH}.exe"
-rm -f julia-installer.exe
else
$(TAR) zcvf julia-$(JULIA_COMMIT)-$(OS)-$(ARCH).tar.gz julia-$(JULIA_COMMIT)
$(TAR) zcvf $(JULIA_DIST_TARNAME).tar.gz julia-$(JULIA_COMMIT)
endif
rm -fr $(prefix)

Expand Down

0 comments on commit 6ddefa8

Please sign in to comment.