r36848 - /packages/code-aster/aster/trunk/debian/rules

trophime-guest at users.alioth.debian.org trophime-guest at users.alioth.debian.org
Thu Aug 26 18:42:18 UTC 2010


Author: trophime-guest
Date: Thu Aug 26 18:42:12 2010
New Revision: 36848

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=36848
Log:
create outils directory in debian/rules before installing onmetis link

Modified:
    packages/code-aster/aster/trunk/debian/rules

Modified: packages/code-aster/aster/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/aster/trunk/debian/rules?rev=36848&op=diff
==============================================================================
--- packages/code-aster/aster/trunk/debian/rules (original)
+++ packages/code-aster/aster/trunk/debian/rules Thu Aug 26 18:42:12 2010
@@ -73,8 +73,9 @@
 	   ln -s $(DEB_DESTDIR)/$(ASTER_ROOT)/$(STA_VERSION)/config-py$$v.txt $(DEB_DESTDIR)/$(ASTER_ROOT)/$(STA_VERSION)/config.txt; \
 	done
 	
-	ln -s /usr/bin/onmetis $(DEB_DESTDIR)/$(ASTER_ROOT)/$(STA_VERSION)/outils
-	ln -s /usr/bin/onmetis.exe $(DEB_DESTDIR)/$(ASTER_ROOT)/$(STA_VERSION)/outils
+	mkdir -p $(DEB_DESTDIR)/$(ASTER_ROOT)/$(STA_VERSION)/outils
+	ln -sf /usr/bin/onmetis $(DEB_DESTDIR)/$(ASTER_ROOT)/$(STA_VERSION)/outils
+	ln -sf /usr/bin/onmetis.exe $(DEB_DESTDIR)/$(ASTER_ROOT)/$(STA_VERSION)/outils
 	
 	#
 	# For MPI version
@@ -92,6 +93,7 @@
 	#   ln -s $(DEB_DESTDIR)/$(ASTER_ROOT)/$(PTA_VERSION)/config-py$$v.txt $(DEB_DESTDIR)/$(ASTER_ROOT)/$(PTA_VERSION)/config.txt; \
 	#done
 	#
+	# mkdir -p $(DEB_DESTDIR)/$(ASTER_ROOT)/$(PTA_VERSION)/outils
 	# ln -s /usr/bin/onmetis $(DEB_DESTDIR)/$(ASTER_ROOT)/$(PTA_VERSION)/outils
 	# ln -s /usr/bin/onmetis.exe $(DEB_DESTDIR)/$(ASTER_ROOT)/$(PTA_VERSION)/outils
 	#




More information about the debian-science-commits mailing list