Package: cvsbook Version: 1.21-9 Severity: serious Tags: patch cvsbook fails to build because recent versions of texi2html place their output in a subdirectory:
> ./fix-anchors.py cvsbook.html cvsbook-fixed.html > Traceback (most recent call last): > File "./fix-anchors.py", line 65, in ? > src = open(sys.argv[1], 'r+') > IOError: [Errno 2] No such file or directory: 'cvsbook.html' The attached patch makes it look for the HTML files in the cvsbook subdirectory. -- Matt
diff -u cvsbook-1.21/Makefile cvsbook-1.21/Makefile
--- cvsbook-1.21/Makefile
+++ cvsbook-1.21/Makefile
@@ -14,8 +14,8 @@
makeinfo main.texi
html: version html-monolithic html-distributed
- ./fix-anchors.py cvsbook.html cvsbook-fixed.html
- mv cvsbook-fixed.html cvsbook.html
+ ./fix-anchors.py cvsbook/cvsbook.html cvsbook/cvsbook-fixed.html
+ mv cvsbook/cvsbook-fixed.html cvsbook/cvsbook.html
html-monolithic: version
ln -sf main.texi cvsbook.texi
diff -u cvsbook-1.21/debian/rules cvsbook-1.21/debian/rules
--- cvsbook-1.21/debian/rules
+++ cvsbook-1.21/debian/rules
@@ -25,7 +25,7 @@
binary-indep: build install
dh_testdir
dh_testroot
- dh_installdocs README TODO cvsbook*.html cvsbook.ps
+ dh_installdocs README TODO cvsbook/*.html cvsbook.ps
dh_installinfo cvsbook.info*
dh_installchangelogs ChangeLog
dh_compress
signature.asc
Description: Digital signature

