diff options
author | John Ankarström <john@ankarstrom.se> | 2021-07-12 13:24:49 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-07-12 13:27:07 +0200 |
commit | 03d827e2fbc409ef97829f25b8eeca5204f81a3c (patch) | |
tree | 6099f0feb9adf3425fba87549b164043e18bd0c7 /Makefile | |
parent | 45cddd072119c5abd7ec076cf28d51ee01f125b7 (diff) | |
download | xutil-03d827e2fbc409ef97829f25b8eeca5204f81a3c.tar.gz |
Re-organize files
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -1,7 +1,10 @@ -EXEC != find -H . -follow -type f -maxdepth 1 -perm -111 -IEXEC != echo " $(EXEC)" | sed -E 's, \./, /usr/local/bin/,g' +EXEC != find -H . -follow -type f -perm -111 ! -path '*/.git/*' +IEXEC != echo " $(EXEC)" | sed -E 's, \./([^ ]*/)?, /usr/local/bin/,g' install: - install -m 644 *.[1-9] /usr/local/man/man1 - install $(EXEC) /usr/local/bin - re! $(IEXEC) + @echo Installing man pages... + @install -m 644 doc/*.[1-9] /usr/local/man/man1 + @echo Installing executables... + @install $(EXEC) /usr/local/bin + @echo Rewriting shebangs... + @re! $(IEXEC) |