[med-svn] r18804 - trunk/packages/stacks/trunk/debian

Andreas Tille tille at moszumanska.debian.org
Thu Feb 19 18:50:39 UTC 2015


Author: tille
Date: 2015-02-19 18:50:38 +0000 (Thu, 19 Feb 2015)
New Revision: 18804

Modified:
   trunk/packages/stacks/trunk/debian/rules
Log:
Provide another dir which will be added to PATH for Debian Med users; try hard to run test suite but failed - see link


Modified: trunk/packages/stacks/trunk/debian/rules
===================================================================
--- trunk/packages/stacks/trunk/debian/rules	2015-02-19 17:43:35 UTC (rev 18803)
+++ trunk/packages/stacks/trunk/debian/rules	2015-02-19 18:50:38 UTC (rev 18804)
@@ -20,7 +20,7 @@
 	cp php/constants.php.dist ./constants.php
 	dh_install
 	# Skip this bit if not building stacks
-	! cd debian/stacks/usr/lib/stacks/bin || \
+	! cd debian/$(pkg)/usr/lib/$(pkg)/bin || \
 	  for f in *.pl ; do \
 	    ln -s "$$f" "`basename $$f .pl`" ; \
 	  done
@@ -33,9 +33,19 @@
 		debian/stacks-web/usr/share/stacks/php/export ; \
 	fi
 
+override_dh_link:
+	dh_link
+	mkdir -p debian/$(pkg)/usr/lib/debian-med/bin
+	cd debian/$(pkg)/usr/lib/debian-med/bin && \
+	for f in `ls $(CURDIR)/debian/$(pkg)/usr/lib/$(pkg)/bin` ; do \
+	    ln -s ../../$(pkg)/bin/$$f ; \
+	done
 
 override_dh_auto_test:
-	#Tests seem to be broken just now
+	#ln -s /usr/share/automake-1.14/tap-driver.sh tests/tap-driver.sh
+	#dh_auto_test
+	#  Does not work even after this trick.  See
+	#   https://groups.google.com/forum/#!msg/stacks-users/TA2tMEqb4Mg/pQy4fUCYi9kJ
 	true
 
 override_dh_clean:




More information about the debian-med-commit mailing list