[DRE-commits] r4492 - trunk/libprawn-ruby/debian

Gunnar Wolf gwolf at alioth.debian.org
Mon Jan 4 17:43:13 UTC 2010


Author: gwolf
Date: 2010-01-04 17:43:12 +0000 (Mon, 04 Jan 2010)
New Revision: 4492

Modified:
   trunk/libprawn-ruby/debian/rules
Log:
Ensure the three source tarballs are present

Modified: trunk/libprawn-ruby/debian/rules
===================================================================
--- trunk/libprawn-ruby/debian/rules	2010-01-04 17:31:51 UTC (rev 4491)
+++ trunk/libprawn-ruby/debian/rules	2010-01-04 17:43:12 UTC (rev 4492)
@@ -21,6 +21,12 @@
 	rm -f lib/ttfunk lib/ttfunk.rb lib/pdf 
 
 makebuilddir/libprawn-ruby::
+	if ! [ -d ttfunk/ -a -d pdf-inspector/ ] ; then \
+		echo " *!*This package needs the 'ttfunk' and 'pdf-inspector'"\
+		"tarballs in order to be built.\n" \
+		"*!*Please see the README.source file for further details."; \
+		exit 1; \
+	fi
 	[ -e lib/ttfunk    ] || ln -s ../ttfunk/lib/ttfunk lib/
 	[ -e lib/ttfunk.rb ] || ln -s ../ttfunk/lib/ttfunk.rb lib/
 	[ -e lib/pdf       ] || ln -s ../pdf-inspector/lib/pdf lib/




More information about the Pkg-ruby-extras-commits mailing list