(MKDIR): New variable.
authortomo <tomo>
Sat, 12 Jan 2008 15:05:05 +0000 (15:05 +0000)
committertomo <tomo>
Sat, 12 Jan 2008 15:05:05 +0000 (15:05 +0000)
(install.h): Make $(INCLUDE_INSTALLDIR).
(install.libs): Make $(LIB_INSTALLDIR).

Makefile.in

index 80966f0..8cb5d59 100644 (file)
@@ -7,6 +7,7 @@ LIBTOOL = @LIBTOOL@
 
 RM     = /bin/rm -f
 TAR    = tar
 
 RM     = /bin/rm -f
 TAR    = tar
+MKDIR  = mkdir -p
 
 
 ## The default location for installation.  Everything is placed in
 
 
 ## 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:
 install:       install.h install.libs
 
 install.h:
+       $(MKDIR) $(INCLUDE_INSTALLDIR)
        install -c $(HEADERS) $(INCLUDE_INSTALLDIR)
 
 install.libs:  libconcord.la
        install -c $(HEADERS) $(INCLUDE_INSTALLDIR)
 
 install.libs:  libconcord.la
+       $(MKDIR) $(LIB_INSTALLDIR)
        $(LIBTOOL) --mode=install install -c libconcord.la $(LIB_INSTALLDIR)
 
 
        $(LIBTOOL) --mode=install install -c libconcord.la $(LIB_INSTALLDIR)