r35399 - /packages/jeuclid/trunk/debian/rules
twerner at users.alioth.debian.org
twerner at users.alioth.debian.org
Wed Dec 31 11:30:30 UTC 2008
Author: twerner
Date: Wed Dec 31 11:30:29 2008
New Revision: 35399
URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=35399
Log:
add a simple build time license check
Modified:
packages/jeuclid/trunk/debian/rules
Modified: packages/jeuclid/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/jeuclid/trunk/debian/rules?rev=35399&op=diff
==============================================================================
--- packages/jeuclid/trunk/debian/rules (original)
+++ packages/jeuclid/trunk/debian/rules Wed Dec 31 11:30:29 2008
@@ -8,6 +8,12 @@
DEB_ANT_BUILDFILE := $(CURDIR)/debian/build.xml
DEB_JARS := ant-nodeps junit commons-lang commons-cli fop
DEB_ANT_BUILD_TARGET := compile-core compile-mathviewer compile-cli compile-fop
+
+makebuilddir::
+ if [ -d jeuclid-testsuite ]; then \
+ echo "You are shipping non-free code!"; \
+ exit 1; \
+ fi
install/libjeuclid-core-java::
install -m 644 -D target/jeuclid-core.jar debian/libjeuclid-core-java/usr/share/java/jeuclid-core-${DEB_UPSTREAM_VERSION}.jar
More information about the debian-science-commits
mailing list