[Makefile]: Also create bindir and mandir on install.
[osl.git] / Makefile
index 53f4f963040ef54e6913bb6a75f4b175e9690748..703238b13a35b652b57d6e6f9e3fd029f5e8ae12 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -124,7 +124,7 @@ fsck.cmdline.o: fsck.cmdline.c fsck.cmdline.h
        $(CC) -c $(CPPFLAGS) $(CFLAGS) $(LIBCFLAGS) $<
 
 fsck.cmdline.h fsck.cmdline.c: fsck.ggo Makefile
-       gengetopt $$O \
+       gengetopt \
                --conf-parser \
                --unamed-opts=table \
                --no-handle-version \
@@ -168,7 +168,7 @@ distclean: clean
        rm -rf web/doxygen
 
 install: all
-       $(MKDIR) $(libdir) $(includedir)
+       $(MKDIR) $(libdir) $(includedir) $(mandir) $(bindir)
        $(RM) $(libdir)/$(linkername)
        $(LN) -s $(libdir)/$(soname) $(libdir)/$(linkername)
        $(INSTALL) -s -m 755 $(realname) $(libdir)