aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f061ffa..945d62f 100644
--- a/Makefile
+++ b/Makefile
@@ -45,7 +45,9 @@ install: anysum
mkdir -p -- "$(DESTDIR)$(PREFIX)/bin"
mkdir -p -- "$(DESTDIR)$(MANPREFIX)/man1/"
cp -- anysum "$(DESTDIR)$(PREFIX)/bin/"
- cp -- $(MAN1) "$(DESTDIR)$(MANPREFIX)/man1/"
+ set -e; for f in $(MAN1); do\
+ cp -- man/$$f "$(DESTDIR)$(MANPREFIX)/man1/";\
+ done
set -e; for a in $(ALIASES); do\
test ! -d "$(DESTDIR)$(PREFIX)/bin/$$a";\
ln -sf -- anysum "$(DESTDIR)$(PREFIX)/bin/$$a";\