(MKDIR): New variable.
[chise/concord.git] / Makefile.in
index 80966f0..8cb5d59 100644 (file)
@@ -7,6 +7,7 @@ LIBTOOL = @LIBTOOL@
 
 RM     = /bin/rm -f
 TAR    = tar
+MKDIR  = mkdir -p
 
 
 ## The default location for installation.  Everything is placed in
@@ -65,9 +66,11 @@ name.lo:     name.c concord-name.h
 install:       install.h install.libs
 
 install.h:
+       $(MKDIR) $(INCLUDE_INSTALLDIR)
        install -c $(HEADERS) $(INCLUDE_INSTALLDIR)
 
 install.libs:  libconcord.la
+       $(MKDIR) $(LIB_INSTALLDIR)
        $(LIBTOOL) --mode=install install -c libconcord.la $(LIB_INSTALLDIR)