Commit 5158c1a0 authored by diego's avatar diego

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 >


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@4680 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 89f11662
...@@ -494,8 +494,8 @@ install-headers: ...@@ -494,8 +494,8 @@ install-headers:
mkdir -p "$(prefix)/include/ffmpeg" mkdir -p "$(prefix)/include/ffmpeg"
install -m 644 $(SRC_PATH)/libavcodec/avcodec.h \ install -m 644 $(SRC_PATH)/libavcodec/avcodec.h \
"$(prefix)/include/ffmpeg" "$(prefix)/include/ffmpeg"
install -d $(libdir)/pkgconfig install -d "$(libdir)/pkgconfig"
install -m 644 ../libavcodec.pc $(libdir)/pkgconfig install -m 644 ../libavcodec.pc "$(libdir)/pkgconfig"
# #
# include dependency files if they exist # include dependency files if they exist
......
...@@ -130,8 +130,8 @@ install-headers: ...@@ -130,8 +130,8 @@ install-headers:
$(SRC_PATH)/libavformat/rtp.h $(SRC_PATH)/libavformat/rtsp.h \ $(SRC_PATH)/libavformat/rtp.h $(SRC_PATH)/libavformat/rtsp.h \
$(SRC_PATH)/libavformat/rtspcodes.h \ $(SRC_PATH)/libavformat/rtspcodes.h \
"$(prefix)/include/ffmpeg" "$(prefix)/include/ffmpeg"
install -d $(libdir)/pkgconfig install -d "$(libdir)/pkgconfig"
install -m 644 ../libavformat.pc $(libdir)/pkgconfig install -m 644 ../libavformat.pc "$(libdir)/pkgconfig"
%.o: %.c %.o: %.c
$(CC) $(CFLAGS) $(LIBOBJFLAGS) -c -o $@ $< $(CC) $(CFLAGS) $(LIBOBJFLAGS) -c -o $@ $<
......
...@@ -84,8 +84,8 @@ install-headers: ...@@ -84,8 +84,8 @@ install-headers:
$(SRC_PATH)/libavutil/rational.h \ $(SRC_PATH)/libavutil/rational.h \
$(SRC_PATH)/libavutil/intfloat_readwrite.h \ $(SRC_PATH)/libavutil/intfloat_readwrite.h \
"$(prefix)/include/ffmpeg" "$(prefix)/include/ffmpeg"
install -d $(libdir)/pkgconfig install -d "$(libdir)/pkgconfig"
install -m 644 ../libavutil.pc $(libdir)/pkgconfig install -m 644 ../libavutil.pc "$(libdir)/pkgconfig"
# #
# include dependency files if they exist # 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