[exodus] 13/48: Update

Alastair McKinstry mckinstry at moszumanska.debian.org
Wed Jul 15 11:35:55 UTC 2015


This is an automated email from the git hooks/post-receive script.

mckinstry pushed a commit to branch debian/master
in repository exodus.

commit 4705e1eb1631adbb699cd845ac9e82fa9469952a
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Mon Oct 10 02:35:35 2011 +0100

    Update
---
 debian/rules | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/debian/rules b/debian/rules
index 0954bae..b08ad3f 100644
--- a/debian/rules
+++ b/debian/rules
@@ -16,16 +16,22 @@ TOPDIR=$(shell pwd)
 
 override_dh_auto_clean:
 	dh_auto_clean
-	rm -rf nemesis-build
+	rm -rf nemesis-build exodus-shared-build
 
 override_dh_auto_build:
 	dh_auto_build
+	# Shared build.
+	mkdir exodus-shared-build
+	( cd exodus-shared-build && \
+		cmake -DBUILD_SHARED_LIBS=TRUE ../exodus && \
+		$(MAKE))
 	# Then build nemesis
 	ln -sf exodus exodusii
 	mkdir nemesis-build
-	(cd nemesis-build && cmake ../nemesis -DEXODUS_LIBRARY=$(TOPDIR)/exodus/cbind/lib )
+	(cd nemesis-build && cmake \\
+		../nemesis -DEXODUS_LIBRARY=$(TOPDIR)/exodus/cbind/lib && \\
+		$(MAKE))
 
 override_dh_auto_install:
 	dh_auto_install
-	mkdir $(PKGDIR)/$(LIBDIR()
 	mv $(PKGDIR)/usr/lib/lib*.a $(PKGDIR)/$(LIBDIR)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/exodus.git



More information about the debian-science-commits mailing list