Package: calc
Version: 2.02f-23
Severity: serious
Tags: patch

calc fails to build because it cannot move its HTML documentation,
which recent versions of texi2html place in a subdirectory:

> test -f stamp-build-calc || texi2html -doctype html2 -expandinfo -menu \
>          -split=chapter -Verbose  calc.texinfo;
> # Expanded: verbatim ifnotxml documentdescription ifnotplaintext html ifinfo 
> ifnotdocbook titlepage ifset menu copying ifnottex ifclear ifhtml 
> # created directory calc
> # putting result files into directory calc/
> # reading from calc.texinfo
> # using 'en' as document language
> # end of pass texi
> # end of pass structure
> ** `Interactive Tutorial' doesn't appear in menus
> ** `Top' is up for `Interactive Tutorial', but has no menu entry for this node
> # Writing elements:
> # Writing to calc/calc.html .** Unknown command [EMAIL PROTECTED]' (left as 
> is) (l. 245)
> [Top]
> # Writing to calc/calc_1.html ..
...
> # Writing to calc/calc_43.html .
> # writing Toc in calc/calc_toc.html
> # writing Overview in calc/calc_ovr.html
> # writing About in calc/calc_abt.html
> # that's all folks
> test -f stamp-build-calc || mv -f *.html debian/html
> mv: cannot stat `*.html': No such file or directory

The attached patch fixes this problem.

-- 
Matt
diff -u calc-2.02f/debian/local.mk calc-2.02f/debian/local.mk
--- calc-2.02f/debian/local.mk
+++ calc-2.02f/debian/local.mk
@@ -24,7 +24,7 @@
 
 CLEAN/calc::
        test ! -d $(TMPTOP) || rm -rf $(TMPTOP)
-       rm -f $(package)*.html
+       rm -fr $(package)
        rm -f $(package)*.info $(package)*.info-?? $(package)*.info-?
 
 build/calc:
@@ -37,7 +37,7 @@
        test -f stamp-build-calc || $(MAKE) info
        test -f stamp-build-calc || texi2html -doctype html2 -expandinfo -menu \
                   -split=chapter -Verbose  $(package).texinfo;
-       test -f stamp-build-calc || mv -f *.html debian/html
+       test -f stamp-build-calc || mv -f $(package)/*.html debian/html
        touch stamp-build-calc
 
 

Attachment: signature.asc
Description: Digital signature

Reply via email to