diff --git a/doc/Makefile b/doc/Makefile index d472dc3297..744a9fbc18 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -1,3 +1,7 @@ +-include ../config.mak + +VPATH=$(SRC_PATH)/doc + all: ffmpeg-doc.html faq.html ffserver-doc.html ffplay-doc.html hooks.html \ ffmpeg.1 ffserver.1 ffplay.1 diff --git a/vhook/Makefile b/vhook/Makefile index 5b68b43d09..13353551b4 100644 --- a/vhook/Makefile +++ b/vhook/Makefile @@ -1,5 +1,7 @@ include ../config.mak +VPATH=$(SRC_PATH)/vhook + CFLAGS=$(VHOOKCFLAGS) -I.. -I$(SRC_PATH) -I$(SRC_PATH)/libavformat \ -I$(SRC_PATH)/libavcodec -I$(SRC_PATH)/libavutil -DHAVE_AV_CONFIG_H