mirror of
https://git.sr.ht/~adnano/kiln
synced 2024-10-30 01:13:08 +00:00
Makefile: make POSIX-compliant
This commit is contained in:
parent
01674d3d05
commit
9d0c5c2af7
17
Makefile
17
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue