noinst_PROGRAMS = launcher
-AM_CPPFLAGS = $(DEPS_CFLAGS) -DDATADIR=\""$(datadir)"\" -I../tidy
+AM_CPPFLAGS = $(DEPS_CFLAGS) -DDATADIR=\""$(datadir)"\" -I$(top_srcdir)/tidy -I$(top_srcdir)
AM_LDFLAGS = $(DEPS_LIBS) -export-dynamic -export-symbols-regex ^champlain_.*
-SOURCES = launcher.c
-LDADD = $(DEPS_LIBS) $(top_builddir)/champlain/libchamplain-1.0.la
+launcher_SOURCES = launcher.c
+launcher_LDADD = $(DEPS_LIBS) libchamplain-1.0.la
svgdir = $(datadir)/champlain
svg_DATA = error.svg
tidy-enum-types.h: stamp-tidy-enum-types.h Makefile
@true
stamp-tidy-enum-types.h: $(source_h) tidy-enum-types.h.in
- ( cd $(srcdir) && \
- $(GLIB_MKENUMS) \
+ ( $(GLIB_MKENUMS) \
--template $(srcdir)/tidy-enum-types.h.in \
$(source_h) ) >> xgen-teth && \
(cmp xgen-teth tidy-enum-types.h || cp xgen-teth tidy-enum-types.h) && \
echo timestamp > $(@F)
tidy-enum-types.c: stamp-tidy-enum-types.h tidy-enum-types.c.in
- ( cd $(srcdir) && \
- $(GLIB_MKENUMS) \
+ ( $(GLIB_MKENUMS) \
--template $(srcdir)/tidy-enum-types.c.in \
$(source_h) ) >> xgen-tetc && \
cp xgen-tetc tidy-enum-types.c && \