]> git.tdb.fi Git - ext/subsurface.git/commitdiff
create man dir before installing files in it
authorMartin Gysel <me@bearsh.org>
Mon, 17 Oct 2011 13:54:00 +0000 (15:54 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 17 Oct 2011 17:48:40 +0000 (10:48 -0700)
Signed-off-by: Martin Gysel <me@bearsh.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Makefile

index 3e0d8b199cd378f86bd651cc8cd6ca2072b2c498..fb84c16ddf8e7de91a454b044ad4a055153d92ec 100644 (file)
--- 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