commit aa064ddaf2116a5ff210048dc30d75ce06169bd5
parent 6ba74b15e1beae4526cbe8a73411be9acf25e21b
Author: Rolf Eike Beer <eike@sf-mail.de>
Date: Tue, 19 May 2020 22:09:23 +0200
Make: make catman dependency rule portable
The previous version only worked with GNU make. It was not caught because of
broken CI rules.
Diffstat:
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
@@ -7,8 +7,19 @@ default: it
.PHONY: check clean default it man test
-%.0:
- $(NROFF) -man $^ > $@
+.SUFFIXES: .0 .1 .5 .7 .8
+
+.1.0:
+ $(NROFF) -man $< >$@
+
+.5.0:
+ $(NROFF) -man $< >$@
+
+.7.0:
+ $(NROFF) -man $< >$@
+
+.8.0:
+ $(NROFF) -man $< >$@
addresses.0: \
addresses.5