Skip to content

Commit

Permalink
Fix test -nt for NetBSD and closes ice-wm/icewm#168.
Browse files Browse the repository at this point in the history
  • Loading branch information
gijsbers committed Jun 4, 2024
1 parent 03d6dd2 commit ac3ebd4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions doc/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@ adoc_input = $(srcdir)/icewm.adoc

$(html_documentation):
$(AM_V_GEN)if test -x "`which $(MARKDOWN) 2>/dev/null`"; then \
if test $(mark_input) -nt $(html_documentation); then \
if test $(mark_input) -nt $(html_documentation) \
-o ! -s $(html_documentation); then \
$(MARKDOWN) $(mark_input) >$@; \
fi; \
elif test -x "`which $(ASCIIDOC) 2>/dev/null`"; then \
if test $(adoc_input) -nt $(html_documentation); then \
if test $(adoc_input) -nt $(html_documentation) \
-o ! -s $(html_documentation); then \
$(ASCIIDOC) $(ASCIIDOC_BACKEND) -o $@ $(adoc_input); \
fi; \
else \
Expand Down

0 comments on commit ac3ebd4

Please sign in to comment.