From 80a25dffc6fab112ad1ca661624d8a0b7a025360 Mon Sep 17 00:00:00 2001 From: sebastien <sebastien@ac1d8469-bf42-47a9-8791-bf33cf982152> Date: Mon, 8 Jun 2009 09:52:09 +0000 Subject: [PATCH] 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 --- Makefile | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/Makefile b/Makefile index 2ec924adae..4bdd337dd2 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,6 @@ # 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 . -- GitLab