Skip to content

Commit ac3ebd4

Browse files
committed
Fix test -nt for NetBSD and closes #168.
1 parent 03d6dd2 commit ac3ebd4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

doc/Makefile.am

+4-2
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,13 @@ adoc_input = $(srcdir)/icewm.adoc
1313

1414
$(html_documentation):
1515
$(AM_V_GEN)if test -x "`which $(MARKDOWN) 2>/dev/null`"; then \
16-
if test $(mark_input) -nt $(html_documentation); then \
16+
if test $(mark_input) -nt $(html_documentation) \
17+
-o ! -s $(html_documentation); then \
1718
$(MARKDOWN) $(mark_input) >$@; \
1819
fi; \
1920
elif test -x "`which $(ASCIIDOC) 2>/dev/null`"; then \
20-
if test $(adoc_input) -nt $(html_documentation); then \
21+
if test $(adoc_input) -nt $(html_documentation) \
22+
-o ! -s $(html_documentation); then \
2123
$(ASCIIDOC) $(ASCIIDOC_BACKEND) -o $@ $(adoc_input); \
2224
fi; \
2325
else \

0 commit comments

Comments
 (0)