Skip to content

Commit

Permalink
Prepare for the case when makeinfo isn't available
Browse files Browse the repository at this point in the history
doc/Makefile.in already test that, but configure complains if @makeinfo@
isn't substituted.
  • Loading branch information
shirok committed Sep 21, 2024
1 parent 362d042 commit 35310c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

(cf-init-gauche-extension)

(cf-check-prog 'MAKEINFO '("makeinfo"))
(cf-check-prog 'MAKEINFO '("makeinfo") :default "")
(cf-check-prog 'GZIP_PROGRAM '("gzip"))

(cf-output-default)
Expand Down
4 changes: 2 additions & 2 deletions doc/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ html : gauche-makiki.en.html gauche-makiki.en.html
info : gauche-makiki.en.info.gz gauche-makiki.ja.info.gz

gauche-makiki.en.info.gz : gauche-makiki.en.texi
if test -n "$(MAKEINFO)" -a -n "$(GZIP_PROGRAM)"; then \
if test -n $(MAKEINFO) -a -n $(GZIP_PROGRAM); then \
$(MAKEINFO) --no-warn gauche-makiki.en.texi; \
rm -rf gauche-makiki.en.info*.gz; \
$(GZIP_PROGRAM) gauche-makiki.en.info ; \
fi

gauche-makiki.ja.info.gz : gauche-makiki.ja.texi
if test -n "$(MAKEINFO)" -a -n "$(GZIP_PROGRAM)"; then \
if test -n $(MAKEINFO) -a -n $(GZIP_PROGRAM); then \
$(MAKEINFO) --no-warn gauche-makiki.ja.texi; \
rm -rf gauche-makiki.ja.info*.gz; \
$(GZIP_PROGRAM) gauche-makiki.ja.info ; \
Expand Down

0 comments on commit 35310c8

Please sign in to comment.