Skip to content

Commit

Permalink
maybe recurse one deeper?
Browse files Browse the repository at this point in the history
  • Loading branch information
flammie committed Mar 19, 2024
1 parent 2688e39 commit 8e59683
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions am-shared/docs-dir-include.am
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ $(LINKS):
d2=`echo "$$d" | cut -d '/' -f 2` ;\
d3=`echo "$$d" | cut -d '/' -f 3` ;\
d4=`echo "$$d" | cut -d '/' -f 4` ;\
d5=`echo "$$d" | cut -d '/' -f 5` ;\
if test "x$$d1" != "x$$oldd1" ; then \
echo "* \`$$d1/\`" ;\
oldd1=$$d1 ;\
Expand All @@ -204,6 +205,12 @@ $(LINKS):
echo " * \`$$d4/\`" ;\
oldd4=$$d4 ;\
fi ; \
if test "x$$d5" = x -a "x$$d4" != x ; then \
echo " * [$$docname]($$html) ([src]($(REPOURL)/$$doc))" ;\
elif test "x$$d5" != "x$$oldd5" ; then \
echo " * \`$$d5/\`" ;\
oldd4=$$d4 ;\
fi ; \
done > $@

empty.md:
Expand Down

0 comments on commit 8e59683

Please sign in to comment.