From a731107f4a3c8dc8b544555f137017f0dcdc5a02 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Fri, 12 Apr 2024 16:08:51 -0400 Subject: Makefile: tweak. --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b7deaf6..763bd4a 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.3