r74770 - /trunk/libxml-parser-perl/debian/rules
periapt-guest at users.alioth.debian.org
periapt-guest at users.alioth.debian.org
Thu May 19 20:32:31 UTC 2011
Author: periapt-guest
Date: Thu May 19 20:32:19 2011
New Revision: 74770
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=74770
Log:
added test for libxml-encoding-perl and fixed install
Modified:
trunk/libxml-parser-perl/debian/rules
Modified: trunk/libxml-parser-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-parser-perl/debian/rules?rev=74770&op=diff
==============================================================================
--- trunk/libxml-parser-perl/debian/rules (original)
+++ trunk/libxml-parser-perl/debian/rules Thu May 19 20:32:19 2011
@@ -19,11 +19,16 @@
override_dh_auto_build:
dh_auto_build
- $(foreach f,$(UU_FILES),uudecode $f;)
+ $(foreach f,$(UU_FILES),rm -f blib/lib/XML/Parser/Encodings/$(basename $(notdir $(f))).enc;)
+ $(foreach f,$(UU_FILES),uudecode -o blib/lib/XML/Parser/Encodings/$(basename $(notdir $(f))).enc $f;)
-make_encodings:
+make_encodings: /usr/share/libxml-encoding-perl
rm -rf debian/encodings/*
$(foreach f,$(XE_FILES),compile_encoding -o debian/encodings/$(basename $(notdir $(f))).enc $f;)
$(foreach f,$(XE_FILES),cat debian/encodings/$(basename $(notdir $(f))).enc | uuencode debian/encodings/$(basename $(notdir $(f))).enc > debian/encodings/$(basename $(notdir $(f))).uuenc;)
rm -rf debian/encodings/*.enc
+/usr/share/libxml-encoding-perl:
+ @echo Please install libxml-encoding-perl
+ exit 1
+
More information about the Pkg-perl-cvs-commits
mailing list