1
0
mirror of https://git.sr.ht/~adnano/kiln synced 2024-11-22 20:22:00 +01:00

Makefile: make POSIX-compliant

This commit is contained in:
adnano 2022-07-06 09:12:58 -04:00
parent 01674d3d05
commit 9d0c5c2af7

@ -1,12 +1,13 @@
.POSIX:
.SUFFIXES:
.SUFFIXES: .1.scd .1
PREFIX?=/usr/local
BINDIR?=$(PREFIX)/bin
MANDIR?=$(PREFIX)/share/man
GO?=go
GOFLAGS?=
PREFIX=/usr/local
BINDIR=$(PREFIX)/bin
MANDIR=$(PREFIX)/share/man
RM=rm
GO=go
GOFLAGS=
all: kiln docs
@ -15,8 +16,8 @@ kiln:
docs: docs/kiln.1
.1.scd.1:
scdoc < $< > $@
docs/kiln.1: docs/kiln.1.scd
scdoc < docs/kiln.1.scd > $@
clean:
$(RM) kiln