15 include $(top_srcdir)/charset/Headers.mk
16 headers += $(libfribidi_char_sets_la_headers)
17 includepath += -I$(top_srcdir)/charset
18 includevpath += :$(top_srcdir)/charset
20 inst_symbols += $(libfribidi_char_sets_la_symbols)
21 else # !FRIBIDI_CHARSETS
22 noinst_symbols += $(libfribidi_char_sets_la_symbols)
23 endif # !FRIBIDI_CHARSETS
25 # The lib/Headers.mk stuff should come after all optional stuff.
26 include $(top_srcdir)/lib/Headers.mk
27 headers += $(libfribidi_la_headers)
28 includepath += -I$(top_builddir)/lib -I$(top_srcdir)/lib
29 includevpath += :$(top_builddir)/lib:$(top_srcdir)/lib
30 inst_symbols += $(libfribidi_la_symbols)
32 dist_man_MANS += $(inst_symbols:=.3)
33 dist_noinst_MANS += $(noinst_symbols:=.3)
34 EXTRA_DIST += c2man.stamp
35 MOSTLYCLEANFILES += c2man.stamp.tmp
36 MAINTAINERCLEANFILES += $(man3) c2man.stamp
38 man3 = $(dist_man_MANS) $(dist_noinst_MANS)
40 C2MANFLAGS = $(includepath) \
42 -DDONT_HAVE_FRIBIDI_CONFIG_H \
43 -M "Programmer's Manual" \
44 -m "$(PACKAGE_NAME) $(PACKAGE_VERSION)"
46 VPATH += $(includevpath)
48 c2man.stamp: $(headers)
51 @($(LN_S) $^ . || cp $^ .)
53 @$(top_srcdir)/missing --run c2man -T n $(C2MANFLAGS) $(headers) 2>&1 \
59 @if ! test -f $@; then \
61 $(MAKE) $(AM_MAKEFLAGS) $<;\
65 -include $(top_srcdir)/git.mk