bugMIT/GNU Scheme - Bugs: bug #66277, make install in doc fails

 
 

bug #66277: make install in doc fails

Submitter:  None
Submitted:  Tue 01 Oct 2024 04:45:43 PM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Originator Name: 
Originator Email:  -email is unavailable- Open/Closed:  Open
Keywords: 
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 01 Oct 2024 04:45:43 PM UTC, original submission:  

/bin/bash ../mkinstalldirs /tmp/foo/usr/local/share/doc/mit-scheme/mit-scheme-ffi
mkdir /tmp/foo/usr/local/share/doc/mit-scheme/mit-scheme-ffi
/usr/bin/install -c --preserve-timestamps -m 644 mit-scheme-ffi/* /tmp/foo/usr/local/share/doc/mit-scheme/mit-scheme-ffi/.
/usr/bin/install: cannot stat 'mit-scheme-ffi/*': No such file or directory
make[1]: * [../make-common:160: install-html] Error 1
make[1]: Leaving directory '/tmp/upstream/mit-scheme/doc/ffi'
make: * [Makefile:129: install-html] Error 1


this is caused by newer texinfo > 7 appending _html to the output directory.

S.a.:
https://lwn.net/Articles/914120/
"
HTML output:
use manual_name_html as output directory for split HTML instead of
manual_name or manual_name.html
"


a patch like this works (but could be improved):
$ git diff
diff --git a/doc/make-common.in b/doc/make-common.in
index 4eb2221e2..399524fdf 100644
--- a/doc/make-common.in
+++ b/doc/make-common.in
@@ -96,6 +96,7 @@ $(INFO_TARGET): $(SOURCES) $(FIGURES_PNG)
 $(HTML_TARGET)/index.html: $(SOURCES) $(FIGURES_PNG)
        rm -rf $(HTML_TARGET)
        texi2any --html $(TEXINFO_ROOT).texinfo
+       mv $(HTML_TARGET)_html $(HTML_TARGET)
 
 $(HTML_NOSPLIT_TARGET): $(SOURCES) $(FIGURES_PNG)
        rm -f $(HTML_NOSPLIT_TARGET)

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.14-04e1.
    Corresponding source code