Skip to content
Snippets Groups Projects
Commit 80a25dff authored by sebastien's avatar sebastien
Browse files

4.0: updated Makefile for source tarball

git-svn-id: https://www.dynare.org/svn/dynare/branches/4.0@2733 ac1d8469-bf42-47a9-8791-bf33cf982152
parent 46ab2c66
Branches
Tags
No related merge requests found
# Makefile for creating the source tarball
# The parent directory must be called dynare-4.x.y
# WARNING: this makefile will destroy all your .svn subdirectories!
DYNAREBASE=$(shell basename $(shell pwd))
DYNAREBASE=dynare-4.0.4
srctarball:
make -C preprocessor clean
......@@ -10,10 +8,4 @@ srctarball:
rm -f matlab/dynare_m matlab/dynare_m.exe
rm -f mex/2007a/* mex/2007b/* mex/octave/*.mex
rm -f windows/*.exe
find -name .svn | xargs rm -rf
find -type f -name '*~' | xargs rm -f
cd ..; tar cvzf $(DYNAREBASE).tgz \
$(DYNAREBASE)/preprocessor \
$(DYNAREBASE)/matlab \
$(DYNAREBASE)/doc \
$(DYNAREBASE)/mex
tar cvzf ../$(DYNAREBASE).tar.gz --transform 's,^\./,$(DYNAREBASE)/,' --exclude=debian --exclude='*~' --exclude-vcs .
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment