aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2026-10-16 16:33:41 -0400
committerB. Watson <urchlay@slackware.uk>2026-10-16 16:33:41 -0400
commit57571783a43471bd5251e1579de9b58867d3a834 (patch)
treeaa8cd2361933e690c62b8a804a2c5df8d1c74c86
parentd967b474d30635e677f11ee73a5ceee040847a1d (diff)
downloadgreypool-57571783a43471bd5251e1579de9b58867d3a834.tar.gz
Makefile: don't rely on script permission (run it with "perl ./greypool ...")
-rw-r--r--Makefile4
1 files 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