Browse Source

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
tags/v0.5
Fredrik Orderud Diego Biurrun 20 years ago
parent
commit
25f8db58ee
3 changed files with 6 additions and 6 deletions
  1. +2
    -2
      libavcodec/Makefile
  2. +2
    -2
      libavformat/Makefile
  3. +2
    -2
      libavutil/Makefile

+ 2
- 2
libavcodec/Makefile View 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


+ 2
- 2
libavformat/Makefile View 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 $@ $<


+ 2
- 2
libavutil/Makefile View 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


Loading…
Cancel
Save