aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2024-09-01 18:16:43 +0200
committerMattias Andrée <maandree@kth.se>2024-09-01 18:16:43 +0200
commit32ad692395f1497afd3ed47565ce139484b4905a (patch)
treef5cd5de8ae81fb1c254b6102c2f6a1c0d58b9bfe /Makefile
parentm fix (diff)
downloadanysum-32ad692395f1497afd3ed47565ce139484b4905a.tar.gz
anysum-32ad692395f1497afd3ed47565ce139484b4905a.tar.bz2
anysum-32ad692395f1497afd3ed47565ce139484b4905a.tar.xz
Organise files
Signed-off-by: Mattias Andrée <maandree@kth.se>
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";\