inst_symbols =
noinst_symbols =
-include $(top_srcdir)/charset/Headers.mk
-headers += $(libfribidi_char_sets_la_headers)
-includepath += -I$(top_srcdir)/charset
-includevpath += :$(top_srcdir)/charset
-if FRIBIDI_CHARSETS
-inst_symbols += $(libfribidi_char_sets_la_symbols)
-else # !FRIBIDI_CHARSETS
-noinst_symbols += $(libfribidi_char_sets_la_symbols)
-endif # !FRIBIDI_CHARSETS
-
# The lib/Headers.mk stuff should come after all optional stuff.
include $(top_srcdir)/lib/Headers.mk
headers += $(libfribidi_la_headers)
includepath += -I$(top_builddir)/lib -I$(top_srcdir)/lib
includevpath += :$(top_builddir)/lib:$(top_srcdir)/lib
-inst_symbols += $(libfribidi_la_symbols)
+# The las two lines are not functions, we don't want them here.
+inst_symbols += $(shell sed '$$d' $(top_srcdir)/lib/fribidi.def | sed '$$d')
dist_man_MANS += $(inst_symbols:=.3)
dist_noinst_MANS += $(noinst_symbols:=.3)
C2MANFLAGS = $(includepath) \
-D__FRIBIDI_DOC \
-DDONT_HAVE_FRIBIDI_CONFIG_H \
- -M "Programmer's Manual" \
- -m "$(PACKAGE_NAME) $(PACKAGE_VERSION)"
+ -M "Programmer's Manual"
VPATH += $(includevpath)