[Pkg-ocaml-maint-commits] r3038 - /trunk/packages/felix/trunk/debian/rules

skaller-guest at users.alioth.debian.org skaller-guest at users.alioth.debian.org
Mon Aug 28 01:20:32 UTC 2006


Author: skaller-guest
Date: Mon Aug 28 01:20:27 2006
New Revision: 3038

URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/?sc=1&rev=3038
Log:
Patch bin/flx to use right install root

Modified:
    trunk/packages/felix/trunk/debian/rules

Modified: trunk/packages/felix/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/felix/trunk/debian/rules?rev=3038&op=diff
==============================================================================
--- trunk/packages/felix/trunk/debian/rules (original)
+++ trunk/packages/felix/trunk/debian/rules Mon Aug 28 01:20:27 2006
@@ -33,6 +33,7 @@
 # prefix is necessary	to bind the install root into the 'flx' driver script
 # this has no effect on installation, because Debian doesn't use any of
 # Felix's native installation script
+# However the result is WRONG .. see patch edit below
 	./configure --prefix=/usr/lib/felix/felix-1.1.2
 	touch config-stamp
 
@@ -52,9 +53,7 @@
 	dh_testdir
 	dh_testroot
 	rm -f build-stamp config-stamp
-# there is no point cleaning up, nor any way to do it
-# other than removing everything and re-extracting from
-# the tarball
+	-$(MAKE) distclean
 	dh_clean 
 
 install: build
@@ -76,7 +75,11 @@
 	chmod u=rw,g=r,a=r lpsrc/flx_win32.pak
 # has wrong permissions, isn't used anyhow	
 	rm -f bin/fishcc
-#
+# patch to fix wrong install root
+	sed -e "s/lib\/felix-1.1.2//" bin/flx > bin/flxx
+	mv bin/flxx bin/flx
+	chmod u=rwx,g=rx,a=rx bin/flx
+#	
 	dh_installchangelogs ChangeLog
 	dh_installdocs
 	dh_installexamples




More information about the Pkg-ocaml-maint-commits mailing list