linamh/app-emulation/opencbm/files/0.4.2a/82_makeinfo_regex.dpatch

20 lines
950 B
Plaintext
Raw Normal View History

#! /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/