From eb0255d5265f021764bfb078f1ef9b079fec227b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien.villemot@ens.fr>
Date: Tue, 22 Feb 2011 16:51:23 +0100
Subject: [PATCH] Build system: add MS-SBVAR to dist tarball

---
 Makefile.am             | 2 ++
 mex/sources/Makefile.am | 3 ++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index b0639eeb7..2f36139b7 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -18,6 +18,7 @@ ACLOCAL_AMFLAGS = -I m4
 
 EXTRA_DIST = \
 	matlab \
+	ms-sbvar \
 	uncrustify.cfg \
 	license.txt \
 	dynare.el \
@@ -32,3 +33,4 @@ dist-hook:
 	rm -rf `find $(distdir)/matlab $(distdir)/examples -name *~`
 	rm -f $(distdir)/matlab/dynare_m$(EXEEXT) $(distdir)/matlab/dynare_version.m
 	$(MKDIR_P) $(distdir)/mex/matlab $(distdir)/mex/octave
+	rm -rf `find $(distdir)/ms-sbvar -name '.git*'`
diff --git a/mex/sources/Makefile.am b/mex/sources/Makefile.am
index 95ef96e5b..b501f4f5b 100644
--- a/mex/sources/Makefile.am
+++ b/mex/sources/Makefile.am
@@ -11,7 +11,8 @@ EXTRA_DIST = \
 	k_order_perturbation \
 	ordschur \
 	libslicot \
-	kalman_steady_state
+	kalman_steady_state \
+	ms-sbvar
 
 clean-local:
 	rm -rf `find mex/sources -name *.o`
-- 
GitLab