]> granicus.if.org Git - libx264/commitdiff
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 05c9a9d743c3089f89319e5bb73d49112ff12ab1..ec3f3dcb5fcc2d52f7eada2ba9487018bf374488 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/