Put double-quotes around the install path in the "install-headers" section
authorFredrik Orderud <fredrik.orderud@idi.ntnu.no>
Mon, 7 Nov 2005 01:32:29 +0000 (01:32 +0000)
committerDiego Biurrun <diego@biurrun.de>
Mon, 7 Nov 2005 01:32:29 +0000 (01:32 +0000)
of the makefiles for libavcodec, libavformat and libavutil.
Fixes installing into paths with spaces in them, i.e. Windows.
patch by Fredrik Orderud < fredrik . orderud -- at -- idi . ntnu . no >

Originally committed as revision 4680 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/Makefile
libavformat/Makefile
libavutil/Makefile

index 988d15ac4eb70a20dee1063ca9db52a00ea03244..2d3cbe6083d7ac0f19a7899d981faf701f3a04a3 100644 (file)
@@ -494,8 +494,8 @@ install-headers:
        mkdir -p "$(prefix)/include/ffmpeg"
        install -m 644 $(SRC_PATH)/libavcodec/avcodec.h \
                 "$(prefix)/include/ffmpeg"
-       install -d $(libdir)/pkgconfig
-       install -m 644 ../libavcodec.pc $(libdir)/pkgconfig
+       install -d "$(libdir)/pkgconfig"
+       install -m 644 ../libavcodec.pc "$(libdir)/pkgconfig"
 
 #
 # include dependency files if they exist
index 65d878116c9a5f5ada58def7246dc04fec2c309c..d4643cb717e48a498adb966b5dfb15b2e6f38858 100644 (file)
@@ -130,8 +130,8 @@ install-headers:
                 $(SRC_PATH)/libavformat/rtp.h $(SRC_PATH)/libavformat/rtsp.h \
                 $(SRC_PATH)/libavformat/rtspcodes.h \
                 "$(prefix)/include/ffmpeg"
-       install -d $(libdir)/pkgconfig
-       install -m 644 ../libavformat.pc $(libdir)/pkgconfig
+       install -d "$(libdir)/pkgconfig"
+       install -m 644 ../libavformat.pc "$(libdir)/pkgconfig"
 
 %.o: %.c
        $(CC) $(CFLAGS) $(LIBOBJFLAGS) -c -o $@ $< 
index 6765cc7ea1753689eda1a69197ec5f2c1baaf862..4308cd09fd2f61350d1b5173e2bc3629666d9c70 100644 (file)
@@ -84,8 +84,8 @@ install-headers:
                       $(SRC_PATH)/libavutil/rational.h \
                       $(SRC_PATH)/libavutil/intfloat_readwrite.h \
                 "$(prefix)/include/ffmpeg"
-       install -d $(libdir)/pkgconfig
-       install -m 644 ../libavutil.pc $(libdir)/pkgconfig
+       install -d "$(libdir)/pkgconfig"
+       install -m 644 ../libavutil.pc "$(libdir)/pkgconfig"
 
 #
 # include dependency files if they exist