diff options
| author | B. Watson <urchlay@slackware.uk> | 2026-10-16 16:33:41 -0400 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2026-10-16 16:33:41 -0400 |
| commit | 57571783a43471bd5251e1579de9b58867d3a834 (patch) | |
| tree | aa8cd2361933e690c62b8a804a2c5df8d1c74c86 | |
| parent | d967b474d30635e677f11ee73a5ceee040847a1d (diff) | |
| download | greypool-57571783a43471bd5251e1579de9b58867d3a834.tar.gz | |
Makefile: don't rely on script permission (run it with "perl ./greypool ...")
| -rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |
