diff options
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index fa41918..71f83da 100644 --- a/Makefile.am +++ b/Makefile.am @@ -26,6 +26,9 @@ libguilexapian_la_SOURCES = xapian_wrap.cc libguilexapian_la_CXXFLAGS = $(GUILE_CFLAGS) $(XAPIAN_CFLAGS) libguilexapian_la_LDFLAGS = $(GUILE_LIBS) $(XAPIAN_LIBS) +xapian.i: xapian.i.in Makefile + sed 's|@libdir[@]|$(libdir)|g' $< > $@ + xapian_wrap.cc: xapian.i xapian-head.i xapian-headers.i $(SWIG) $(SWIG_FLAGS) -scmstub -o $@ -guile -package xapian -c++ $< |