diff options
| author | Sam Nystrom <sam@samnystrom.dev> | 2023-08-16 16:27:37 -0400 |
|---|---|---|
| committer | Sam Nystrom <sam@samnystrom.dev> | 2023-08-16 16:27:37 -0400 |
| commit | 2eb1774f3f30ee3e766ac73a6df037b62cd56d07 (patch) | |
| tree | c63f10996c182cfcf1a5c4a3144361f787a58648 /Makefile | |
| parent | 277fa45fd3d6bd80842660460ce978a01d286ced (diff) | |
Replace haredo with make
Make is much more widely available.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..dd6a300 --- /dev/null +++ b/Makefile @@ -0,0 +1,22 @@ +.POSIX: + +PREFIX=/usr/local +BINDIR=$(PREFIX)/bin +MANDIR=$(PREFIX)/share/man + +all: srtplay.1 + +srtplay.1: srtplay.1.scd + scdoc < $< > $@ + +clean: + rm -f srtplay.1 + +install: srtplay.1 + install -Dm755 srtplay $(BINDIR)/srtplay + install -Dm644 srtplay.1 $(MANDIR)/man1/srtplay.1 + +uninstall: + rm -f $(BINDIR)/srtplay $(MANDIR)/man1/srtplay.1 + +.PHONY: all clean install uninstall |
