diff --git a/Make.mk b/Make.mk index 272bc58f..f546c37c 100644 --- a/Make.mk +++ b/Make.mk @@ -291,12 +291,11 @@ $(ttop): $(tsubj) perl $(srcdir)/info/mktop.pl $@ $(filter %.t, $^) info.nr/all: $(filter-out info.nr/all, $(info.nr)) - (cd info.nr && LC_ALL=C ls -C $(info)) >$@ -# FIXME shouldn't use ls + >$@ + (cd info.nr && LC_ALL=C ls -C $(info)) >>$@ -info.html/all.html: $(filter-out info.html/all.html, $(info.html)) info/ls2html.pl - (cd info.html && LC_ALL=C ls -C $(notdir $(info.html))) | expand | perl $(filter %.pl, $^) >$@ -# FIXME shouldn't use ls +info.html/all.html: info.nr/all info/ls2html.pl + expand $< | perl $(srcdir)/info/ls2html.pl >$@ $(info.nr): info/CRT.MAC info/INFO.MAC info/Blank.awk diff --git a/info/ls2html.pl b/info/ls2html.pl index 611e4479..b61230d5 100644 --- a/info/ls2html.pl +++ b/info/ls2html.pl @@ -5,7 +5,7 @@ use warnings; printf("
\n"); while (<>) { - s/([\w\.\-]+)\.html/$1<\/a>/g; + s/([\w\.\-]+)/$1<\/a>/g; print; } printf("\n");