[PATCH] make install fix
authorMark Fasheh <mark.fasheh@oracle.com>
Thu, 19 Oct 2006 17:15:08 +0000 (19:15 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 19 Oct 2006 17:15:08 +0000 (19:15 +0200)
Create mandir before trying to copy files into it.

Makefile

index ea113fcba251c24c8f17836c77f88aaeca2f5402..a83dd24c9cdc8feb0b1b20cec724cc73b69f3c2c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -22,6 +22,7 @@ mandir = $(prefix)/man
 install: $(PROGS)
        $(INSTALL) -m755 -d $(DESTDIR)$(bindir)
        $(INSTALL) $(PROGS) $(DESTDIR)$(bindir)
+       $(INSTALL) -m755 -d $(DESTDIR)$(mandir)/man2
        $(INSTALL) $(MANS) $(DESTDIR)$(mandir)/man2
 
 ifneq ($(wildcard .depend),)