--- doc/Makefile.am.orig 2021-06-21 08:39:42 UTC +++ doc/Makefile.am @@ -112,8 +112,8 @@ man-page-build: upg-page-build man-page-start echo ' ' >> $(top_builddir)/doc/insert_file ;\ ## Create and Update the DoxygenLayout.xml file $(DOXYGEN) -l ;\ - $(SED) -i 's/Name^

NAME

^g' $(top_builddir)/doc/man_html/$${BASE}.html ;\ - $(SED) -i 's^

Synopsis

^

SYNOPSIS

^g' $(top_builddir)/doc/man_html/$${BASE}.html ;\ + $(SED) -i '' 's^

Name

^

NAME

^g' $(top_builddir)/doc/man_html/$${BASE}.html ;\ + $(SED) -i '' 's^

Synopsis

^

SYNOPSIS

^g' $(top_builddir)/doc/man_html/$${BASE}.html ;\ else \ echo "ERROR: $(top_builddir)/man/$${BASE}.html not found!";\ exit 1 ;\ @@ -131,7 +131,7 @@ man-page-build: upg-page-build man-page-start EBASE=`basename $${ENTRY} | cut -d . -f1` ;\ MANUAL=`egrep -B 1 "^====" $${ENTRY} | head -1` ;\ SECTION=`echo $${MANUAL} | cut -d\( -f2 | cut -d\) -f1` ;\ - $(SED) -i "s^$${EBASE}($${SECTION})^$${EBASE}($${SECTION})^g" $(top_builddir)/doc/man_html/$${BASE}.html ;\ + $(SED) -i '' "s^$${EBASE}($${SECTION})^$${EBASE}($${SECTION})^g" $(top_builddir)/doc/man_html/$${BASE}.html ;\ done ;\ echo "finalized addition $${BASE}.html" ;\ done