[syrthes/master] Move example into /usr/share/doc/syrthes/

Gilles Filippini gilles.filippini at free.fr
Mon Sep 14 21:33:31 UTC 2009


---
 debian/rules |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/debian/rules b/debian/rules
index ffa84d6..f79c50e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -67,6 +67,10 @@ install: build
 	sed -i "s!@SYRTHES_HOME@!/$(SYRTHES_HOME)!g" $(INSTALL_DIR)/$(SYRTHES_HOME)/bin/syrthes_create_case
 	sed -i "s!@SYRTHES_HOME@!/$(SYRTHES_HOME)!g" $(INSTALL_DIR)/$(SYRTHES_HOME)/bin/Makefile
 	rm -f $(INSTALL_DIR)/$(SYRTHES_HOME)/bin/syrthes.profile
+	# Move example dir to /usr/share/doc/syrthes/
+	mkdir -p $(INSTALL_DIR)/usr/share/doc/syrthes$(EXPLICIT_VERSION)
+	mv $(INSTALL_DIR)/$(SYRTHES_HOME)/example $(INSTALL_DIR)/usr/share/doc/syrthes$(EXPLICIT_VERSION)/
+	cd $(INSTALL_DIR)/usr/share/doc/syrthes$(EXPLICIT_VERSION)/example && tar czf cylinder.tar.gz cylinder && rm -fr cylinder
 
 
 # Build architecture-independent files here.
-- 
1.5.6.5





More information about the debian-science-commits mailing list