linamh/app-emulation/opencbm/files/0.4.2a/82_makeinfo_regex.dpatch
geos_one d3a4651970 initial ebuild
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@323 6952d904-891a-0410-993b-d76249ca496b
2007-12-31 16:30:09 +00:00

20 lines
950 B
Plaintext

#! /bin/sh /usr/share/dpatch/dpatch-run
## 82_makeinfo_regex.dpatch by Frédéric Brière <fbriere@fbriere.net>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Fix regex for compatibility with makeinfo 4.11
@DPATCH@
diff -urNad opencbm~/docs/LINUX/Makefile opencbm/docs/LINUX/Makefile
--- opencbm~/docs/LINUX/Makefile 2007-12-02 14:56:04.000000000 -0500
+++ opencbm/docs/LINUX/Makefile 2007-12-02 14:56:29.000000000 -0500
@@ -29,7 +29,7 @@
%.info: %.sgml
sgml2info -c latin $<
- perl -p -i -e 'if(m/^ \\input texinfo/){print "INFO-DIR-SECTION Miscellaneous\nSTART-INFO-DIR-ENTRY\n* opencbm: (opencbm). Commodore serial IEC bus support.\nEND-INFO-DIR-ENTRY\n";}' $@
+ perl -p -i -e 'if(m/^\s*\\input texinfo/){print "INFO-DIR-SECTION Miscellaneous\nSTART-INFO-DIR-ENTRY\n* opencbm: (opencbm). Commodore serial IEC bus support.\nEND-INFO-DIR-ENTRY\n";}' $@
%.html: opencbm.sgml
-[ ! -d html ] && mkdir html/