Makefile: in target "install", first create the directories if they
authorEric Petit <titer@videolan.org>
Thu, 19 May 2005 15:42:48 +0000 (15:42 +0000)
committerEric Petit <titer@videolan.org>
Thu, 19 May 2005 15:42:48 +0000 (15:42 +0000)
 don't already exist

git-svn-id: svn://svn.videolan.org/x264/trunk@234 df754926-b1dd-0310-bc7b-ec298dee348c

Makefile

index 05c9a9d..ec3f3dc 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -80,6 +80,7 @@ distclean: clean
 
 DIR_INSTALL="/usr/local"
 install: x264
+       install -d $(DIR_INSTALL)/include $(DIR_INSTALL)/lib $(DIR_INSTALL)/bin
        install x264.h $(DIR_INSTALL)/include/
        install libx264.a $(DIR_INSTALL)/lib/
        install x264 $(DIR_INSTALL)/bin/