From 32ad692395f1497afd3ed47565ce139484b4905a Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 1 Sep 2024 18:16:43 +0200 Subject: Organise files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Makefile') 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";\ -- cgit v1.2.3-70-g09d2