aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-01-26 17:23:05 +0100
committerMattias Andrée <maandree@kth.se>2023-01-26 17:23:05 +0100
commit12bb616db1dbebcbd439fa5c631d1da5fba7400d (patch)
treea14817c1bb9c3dd9052ec004f3d8adfba20fb662 /Makefile
parentlibglitter_desaturate_double.3: NULL as primary_ys (diff)
downloadlibglitter-12bb616db1dbebcbd439fa5c631d1da5fba7400d.tar.gz
libglitter-12bb616db1dbebcbd439fa5c631d1da5fba7400d.tar.bz2
libglitter-12bb616db1dbebcbd439fa5c631d1da5fba7400d.tar.xz
Makefile: fix installation of man pages
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index b9c4d73..1f9277c 100644
--- a/Makefile
+++ b/Makefile
@@ -92,8 +92,8 @@ install: libglitter.a libglitter.$(LIBEXT)
ln -sf -- libglitter.$(LIBMINOREXT) "$(DESTDIR)$(PREFIX)/lib/libglitter.$(LIBMAJOREXT)"
ln -sf -- libglitter.$(LIBMAJOREXT) "$(DESTDIR)$(PREFIX)/lib/libglitter.$(LIBEXT)"
cp -- libglitter.h "$(DESTDIR)$(PREFIX)/include/"
- mkdir -- "$(DESTDIR)$(MANPREFIX)/man3"
- mkdir -- "$(DESTDIR)$(MANPREFIX)/man7"
+ mkdir -p -- "$(DESTDIR)$(MANPREFIX)/man3"
+ mkdir -p -- "$(DESTDIR)$(MANPREFIX)/man7"
cp -P -- $(MAN3) "$(DESTDIR)$(MANPREFIX)/man3/"
cp -P -- $(MAN7) "$(DESTDIR)$(MANPREFIX)/man7/"