diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 22 |
1 files changed, 3 insertions, 19 deletions
@@ -1,23 +1,7 @@ -EXEC != ls -l | perl -ne ' \ - if (/^-\S*x\s/) { \ - s/.* //; \ - print; \ - $$x{$$_} = 1; \ - } elsif (/^l\S*x\s/) { \ - s/ -> (.*)//; \ - $$d = $$1; \ - s/.* //; \ - push @ln, [$$_ => "$$d\n"] \ - } \ - END { \ - for (@ln) { \ - print $$_->[0] if $$x{$$_->[1]}; \ - } \ - } \ -' -IEXEC != echo $(EXEC) | sed -E 's,^| ,&/usr/local/bin/,g' +EXEC != find -H . -follow -type f -maxdepth 1 -perm -111 +IEXEC != echo " $(EXEC)" | sed -E 's, \./, /usr/local/bin/,g' install: - install -m 644 *.1 /usr/local/man/man1/ + install -m 644 *.[1-9] /usr/local/man/man1 install $(EXEC) /usr/local/bin re! $(IEXEC) |