[PATCH 2/3] create man dir before installing files in it

me at bearsh.org me at bearsh.org
Mon Oct 17 09:54:00 EDT 2011


From: Martin Gysel <me at bearsh.org>

Signed-off-by: Martin Gysel <me at bearsh.org>
---
 Makefile |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index 3e0d8b1..fb84c16 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
-- 
1.7.7



More information about the subsurface mailing list