Skip to content

Commit

Permalink
changing upper level dir resets the subtree
Browse files Browse the repository at this point in the history
fixes #47
  • Loading branch information
flammie committed Apr 3, 2024
1 parent 551c096 commit f1a2b11
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions am-shared/docs-dir-include.am
Original file line number Diff line number Diff line change
Expand Up @@ -186,24 +186,32 @@ $(LINKS):
if test "x$$d1" != "x$$oldd1" ; then \
echo "* \`$$d1/\`" ;\
oldd1=$$d1 ;\
oldd2="";\
oldd3="";\
oldd4="";\
fi ; \
if test "x$$d2" = x ; then \
echo " * [$$docname]($$html) ([src]($(REPOURL)/$$doc))" ;\
elif test "x$$d2" != "x$$oldd2" ; then \
echo " * \`$$d2/\`" ;\
oldd2=$$d2 ;\
oldd3="";\
oldd4="";\
oldd5="";\
fi ; \
if test "x$$d3" = x -a "x$$d2" != x; then \
echo " * [$$docname]($$html) ([src]($(REPOURL)/$$doc))" ;\
elif test "x$$d3" != "x$$oldd3" ; then \
echo " * \`$$d3/\`" ;\
oldd3=$$d3 ;\
oldd4="";\
fi ; \
if test "x$$d4" = x -a "x$$d3" != x ; then \
echo " * [$$docname]($$html) ([src]($(REPOURL)/$$doc))" ;\
elif test "x$$d4" != "x$$oldd4" ; then \
echo " * \`$$d4/\`" ;\
oldd4=$$d4 ;\
oldd5="";\
fi ; \
if test "x$$d5" = x -a "x$$d4" != x ; then \
echo " * [$$docname]($$html) ([src]($(REPOURL)/$$doc))" ;\
Expand Down

0 comments on commit f1a2b11

Please sign in to comment.