From 57571783a43471bd5251e1579de9b58867d3a834 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Fri, 16 Oct 2026 16:33:41 -0400 Subject: Makefile: don't rely on script permission (run it with "perl ./greypool ...") --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8e13e43..10a5ff9 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,6 @@ # Works fine with GNU or BSD make. # Feel free to override these as needed. -PROJECT=greypool DESTDIR= PREFIX=/usr BINDIR=$(PREFIX)/bin @@ -18,6 +17,7 @@ PERL=perl GZIP=gzip # Ideally, you don't have to change anything below this. +PROJECT=greypool SCRIPTS=$(PROJECT) MANS=$(PROJECT).1 DOCS=README @@ -43,7 +43,7 @@ install-files: $(MANS) install: if [ -f /etc/slackware-version ]; then \ - $(MAKE) install-files MANDIR=/usr/man DOCDIR=/usr/doc/$(PROJECT)-`./$(PROJECT) --version` ;\ + $(MAKE) install-files MANDIR=/usr/man DOCDIR=/usr/doc/$(PROJECT)-`$(PERL) ./$(PROJECT) --version` ;\ else \ $(MAKE) install-files ;\ fi -- cgit v1.2.3