diff options
-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 |