From b7b3496a78fd08197899f588a4abc026c8636e74 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Tue, 8 Apr 2014 11:40:16 +0100 Subject: move testament output to object directory instead of modifying source --- content/fetchers/Makefile | 2 +- content/fetchers/about.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'content/fetchers') diff --git a/content/fetchers/Makefile b/content/fetchers/Makefile index 06e38e4c8..855154232 100644 --- a/content/fetchers/Makefile +++ b/content/fetchers/Makefile @@ -5,4 +5,4 @@ S_FETCHERS := curl.c data.c file.c about.c resource.c S_FETCHERS := $(addprefix content/fetchers/,$(S_FETCHERS)) # The following files depend on the testament -content/fetchers/about.c: testament utils/testament.h +content/fetchers/about.c: testament $(OBJROOT)/testament.h diff --git a/content/fetchers/about.c b/content/fetchers/about.c index 8e973a9cc..f0244a975 100644 --- a/content/fetchers/about.c +++ b/content/fetchers/about.c @@ -41,6 +41,8 @@ #include +#include "testament.h" + #include "utils/config.h" #include "content/dirlist.h" #include "content/fetch.h" @@ -54,7 +56,6 @@ #include "utils/url.h" #include "utils/utils.h" #include "utils/ring.h" -#include "utils/testament.h" #include "image/image_cache.h" struct fetch_about_context; -- cgit v1.2.3