diff options
author | B. Watson <urchlay@slackware.uk> | 2024-04-12 16:08:51 -0400 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2024-04-12 16:08:51 -0400 |
commit | a731107f4a3c8dc8b544555f137017f0dcdc5a02 (patch) | |
tree | 5ae840020604df6323bf83522ac3a6b9b38dbaba /Makefile | |
parent | 768d5b5d512ae9dc4bb5be4bed29c08895ecdce4 (diff) | |
download | soxdial-a731107f4a3c8dc8b544555f137017f0dcdc5a02.tar.gz |
Makefile: tweak.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,7 @@ +# Makefile for soxdial. There is no compilation, only 'make install' +# does anything useful. Should work with any make (tested with GNU +# and BSD). + DESTDIR= PREFIX=/usr BINDIR=$(PREFIX)/bin @@ -14,6 +18,8 @@ all: $(MAN): $(PROG) perl $(PROG) --man > $(MAN) +man: $(MAN) + install: $(MAN) mkdir -p $(DESTDIR)$(BINDIR) $(DESTDIR)$(MAN1DIR) $(DESTDIR)$(DOCDIR) cp $(PROG) $(DESTDIR)$(BINDIR) @@ -22,3 +28,5 @@ install: $(MAN) gzip -9 $(DESTDIR)$(MAN1DIR)/$(MAN) cp README $(DESTDIR)$(DOCDIR) chmod 644 $(DESTDIR)$(MAN1DIR)/$(MAN).gz $(DESTDIR)$(DOCDIR)/README + +.PHONY: all man install |