--- exiv2-0.25/src/Makefile~ 2015-06-21 15:20:11.000000000 +0100 +++ exiv2-0.25/src/Makefile 2016-09-05 00:33:40.092584882 +0100 @@ -228,7 +228,7 @@ endif # Be sure to rewrite exv_conf.h and svn_version.h before compiling anything -$(SRC): ../include/exiv2/exv_conf.h svn_version.h +$(SRC) $(EXIV2SRC): ../include/exiv2/exv_conf.h svn_version.h ../include/exiv2/exv_conf.h: $(top_srcdir)/config/config.h LC_ALL=C sed 's/#define \([A-Z]\)/#define EXV_\1/; s/#undef \([A-Z]\)/#undef EXV_\1/' < $< > $@