diff Makefile @ 727:c816782e3161 libavcodec

Fix for source dir != build dir. Patch provided by Mns Rullgrd.
author mellum
date Fri, 04 Oct 2002 23:32:40 +0000
parents caa4c757a47d
children b24ea84b23e2
line wrap: on
line diff
--- a/Makefile	Fri Oct 04 20:59:29 2002 +0000
+++ b/Makefile	Fri Oct 04 23:32:40 2002 +0000
@@ -171,8 +171,8 @@
 	ln -sf libavcodec-$(VERSION).so $(prefix)/lib/libavcodec.so
 	ldconfig || true
 	mkdir -p $(prefix)/include/ffmpeg
-	install -m 644 avcodec.h $(prefix)/include/ffmpeg/avcodec.h
-	install -m 644 common.h $(prefix)/include/ffmpeg/common.h
+	install -m 644 $(VPATH)/avcodec.h $(prefix)/include/ffmpeg/avcodec.h
+	install -m 644 $(VPATH)/common.h $(prefix)/include/ffmpeg/common.h
 endif
 
 installlib: all