aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2022-01-23 18:43:37 +0100
committerThomas Voss <mail@thomasvoss.com> 2022-01-23 18:43:37 +0100
commitef736c377953405fbbfa0c22b9a65a0abfe5edf3 (patch)
tree39ca25a56b29bb336ea4bb83dbe718c8b8d2b6ba /Makefile
parent93a5ed54ad9a0bf53f61554a890c4d5ceb29ac28 (diff)
Stop using m4(1) macros
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index e038050..8f89b33 100644
--- a/Makefile
+++ b/Makefile
@@ -4,16 +4,13 @@ MANDIR = /usr/share/man/man1
target = mpaste
all: ${target}
-${target}: macros.m4 mpaste.go
- m4 macros.m4 mpaste.go >tmp.go
- go build tmp.go
- mv tmp ${target}
- rm tmp.go
+${target}: mpaste.go
+ go build
docs:
>/dev/null command -v gzip && gzip -c9 mpaste.1 >${MANDIR}/mpaste.1.gz || \
cp mpaste.1 ${MANDIR}
clean:
- rm -rf ${target} tmp.go counter files/
+ rm -rf ${target} counter files/
.PHONY: clean