mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-12 20:34:19 +00:00
Some fixes suggested by fjh review comments.
Estimated hours taken: 0.1 Branches: main Some fixes suggested by fjh review comments. Mmakefile: s/TEXT_TO_HTML/HTML_TO_TEXT/g configure.in: s/AC_SUBST(lynx)/AC_SUBST(LYNX)/
This commit is contained in:
@@ -282,16 +282,16 @@ INSTALL: .INSTALL.in VERSION
|
||||
sed 's/@VERSION@/$(VERSION)/g' .INSTALL.in > INSTALL
|
||||
|
||||
ifeq ("$(LYNX)","")
|
||||
TEXT_TO_HTML = cat
|
||||
HTML_TO_TEXT = cat
|
||||
else
|
||||
TEXT_TO_HTML = TERM=vt100 lynx -dump
|
||||
HTML_TO_TEXT = TERM=vt100 lynx -dump
|
||||
endif
|
||||
|
||||
WORK_IN_PROGRESS: compiler/notes/work_in_progress.html
|
||||
$(TEXT_TO_HTML) compiler/notes/work_in_progress.html > WORK_IN_PROGRESS
|
||||
$(HTML_TO_TEXT) compiler/notes/work_in_progress.html > WORK_IN_PROGRESS
|
||||
|
||||
TODO: compiler/notes/todo.html
|
||||
$(TEXT_TO_HTML) compiler/notes/todo.html > TODO
|
||||
$(HTML_TO_TEXT) compiler/notes/todo.html > TODO
|
||||
|
||||
mercury-compiler.spec: .mercury-compiler.spec.in VERSION
|
||||
version_with_underscores=`echo $(VERSION) | sed 's/-/_/g'`; \
|
||||
|
||||
@@ -444,7 +444,7 @@ esac
|
||||
AC_SUBST(TEXI2DVI)
|
||||
#-----------------------------------------------------------------------------#
|
||||
AC_PATH_PROG(LYNX,lynx)
|
||||
AC_SUBST(lynx)
|
||||
AC_SUBST(LYNX)
|
||||
#-----------------------------------------------------------------------------#
|
||||
AC_PATH_PROG(DVIPS,dvips)
|
||||
AC_SUBST(DVIPS)
|
||||
|
||||
Reference in New Issue
Block a user