Commit 25f8db58 authored by Fredrik Orderud's avatar Fredrik Orderud Committed by Diego Biurrun

Put double-quotes around the install path in the "install-headers" section

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
parent 7c017693
......@@ -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
......
......@@ -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 $@ $<
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment