version up to 1.0.5
[platform/upstream/fribidi.git] / doc / Makefile.am
index 7fe8d37..bbfb48f 100644 (file)
@@ -12,22 +12,13 @@ headers =
 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)
@@ -40,8 +31,7 @@ man3 = $(dist_man_MANS) $(dist_noinst_MANS)
 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)