diff --git a/doc/Makefile.am b/doc/Makefile.am index 65f09d1..9f67d43 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -79,7 +79,7 @@ if WITH_DOC endif -ttfautohint-2.pandoc: $(top_srcdir)/lib/ttfautohint.h +ttfautohint-2.pandoc: $(top_builddir)/lib/ttfautohint.h $(SED) -f $(srcdir)/c2pandoc.sed < $< > $@ ttfautohint-4.pandoc: $(top_srcdir)/lib/taranges.c diff --git a/frontend/Makefile.am b/frontend/Makefile.am index 75da714..be2dcaf 100644 --- a/frontend/Makefile.am +++ b/frontend/Makefile.am @@ -84,7 +84,7 @@ endif # `ttfautohint.h' holds default values for some options, # `ttfautohint-scripts.' the list of available scripts ttfautohint.1: $(top_srcdir)/frontend/main.cpp \ - $(top_srcdir)/lib/ttfautohint.h \ + $(top_builddir)/lib/ttfautohint.h \ $(top_srcdir)/lib/ttfautohint-scripts.h \ $(top_builddir)/.version $(MAKE) $(AM_MAKEFLAGS) ttfautohint$(EXEEXT) @@ -94,7 +94,7 @@ ttfautohint.1: $(top_srcdir)/frontend/main.cpp \ ./ttfautohint$(EXEEXT) ttfautohintGUI.1: $(top_srcdir)/frontend/main.cpp \ - $(top_srcdir)/lib/ttfautohint.h \ + $(top_builddir)/lib/ttfautohint.h \ $(top_srcdir)/lib/ttfautohint-scripts.h \ $(top_builddir)/.version $(MAKE) $(AM_MAKEFLAGS) ttfautohintGUI$(EXEEXT)