summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Martin Gysel <me@bearsh.org>2011-10-17 15:54:00 +0200
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-10-17 10:48:40 -0700
commite4d43901bee4268a035674fcff794064557f238a (patch)
treeec382ed1baac9e1b8b30f6469a9d528d640f2e5e /Makefile
parente9386057b6a4cddb09ac3391634ccbbe6cdb39ef (diff)
downloadsubsurface-e4d43901bee4268a035674fcff794064557f238a.tar.gz
create man dir before installing files in it
Signed-off-by: Martin Gysel <me@bearsh.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3e0d8b199..fb84c16dd 100644
--- a/Makefile
+++ b/Makefile
@@ -66,7 +66,8 @@ install: $(NAME)
$(INSTALL) -d -m 755 $(ICONDIR)
$(INSTALL) $(ICONFILE) $(ICONDIR)
$(gtk_update_icon_cache)
- $(INSTALL) -m 644 $(MANFILES) $(MANDIR)
+ $(INSTALL) -d -m 644 $(MANDIR)
+ $(INSTALL) $(MANFILES) $(MANDIR)
parse-xml.o: parse-xml.c dive.h
$(CC) $(CFLAGS) `pkg-config --cflags glib-2.0` -c `xml2-config --cflags` parse-xml.c