~adnano/astronaut-devel

Makefile: make more POSIX-compliant v1 APPLIED

phoebos: 1
 Makefile: make more POSIX-compliant

 1 files changed, 2 insertions(+), 5 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~adnano/astronaut-devel/patches/32495/mbox | git am -3
Learn more about email & git

[PATCH] Makefile: make more POSIX-compliant Export this patch

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.
---
 Makefile | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/Makefile b/Makefile
index fc76416..d76d2f3 100644
--- a/Makefile
+++ b/Makefile
@@ -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) \
-- 
2.36.1
Thanks!

To git@git.sr.ht:~adnano/astronaut
   762f8a6..aa744e6  master -> master