summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSam Nystrom <sam@samnystrom.dev>2023-10-25 17:43:11 -0400
committerSam Nystrom <sam@samnystrom.dev>2023-10-25 17:43:11 -0400
commitb68ebb8e338114da3a21991e8423d00fbd83a0b9 (patch)
tree692fd6603797732c5599f015e942b4f2e0675206 /Makefile
parent8249239acdf72c330818f2f8b8b320a84ac45d89 (diff)
Rewrite man page in mdoc0.3.1
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 4 insertions, 12 deletions
diff --git a/Makefile b/Makefile
index 931eb44..4cedf7b 100644
--- a/Makefile
+++ b/Makefile
@@ -1,25 +1,17 @@
.POSIX:
+.SUFFIXES:
PREFIX=/usr/local
BINDIR=$(PREFIX)/bin
MANDIR=$(PREFIX)/share/man
-all: srtplay srtplay.1
+all:
-srtplay:
- perl -c srtplay
-
-srtplay.1: srtplay.1.scd
- scdoc < $< > $@
-
-clean:
- rm -f srtplay.1
-
-install: srtplay srtplay.1
+install:
install -Dm755 srtplay $(BINDIR)/srtplay
install -Dm644 srtplay.1 $(MANDIR)/man1/srtplay.1
uninstall:
rm -f $(BINDIR)/srtplay $(MANDIR)/man1/srtplay.1
-.PHONY: all srtplay clean install uninstall
+.PHONY: install uninstall