Makefile: make more POSIX-compliant A suffix in .SUFFIXES cannot contain more than one period itself, so the rule for the manpage must be written explicitly rather than with inference rules.
1 files changed, 2 insertions(+), 5 deletions(-) M Makefile
M Makefile => Makefile +2 -5
@@ 1,6 1,4 @@ .POSIX: .SUFFIXES: .SUFFIXES: .1 .1.scd PREFIX=/usr/local @@ 10,7 8,6 @@ BINDIR=$(PREFIX)/bin SHAREDIR=$(PREFIX)/share/astronaut MANDIR=$(PREFIX)/share/man VPATH=doc RM=rm GO=go @@ GOFLAGS= 22,8 19,8 @@ all: astronaut doc doc: $(DOCS) .1.scd.1: scdoc < $< > $@ astronaut.1: doc/astronaut.1.scd scdoc < doc/astronaut.1.scd > $@ astronaut: $(GOSRC) $(GO) build $(GOFLAGS) \