15 # The lib/Headers.mk stuff should come after all optional stuff.
16 include $(top_srcdir)/lib/Headers.mk
17 headers += $(libfribidi_la_headers)
18 includepath += -I$(top_builddir)/lib -I$(top_srcdir)/lib
19 includevpath += :$(top_builddir)/lib:$(top_srcdir)/lib
20 # The las two lines are not functions, we don't want them here.
21 inst_symbols += $(shell sed '$$d' $(top_srcdir)/lib/fribidi.def | sed '$$d')
23 dist_man_MANS += $(inst_symbols:=.3)
24 dist_noinst_MANS += $(noinst_symbols:=.3)
25 EXTRA_DIST += c2man.stamp
26 MOSTLYCLEANFILES += c2man.stamp.tmp
27 MAINTAINERCLEANFILES += $(man3) c2man.stamp
29 man3 = $(dist_man_MANS) $(dist_noinst_MANS)
31 C2MANFLAGS = $(includepath) \
33 -DDONT_HAVE_FRIBIDI_CONFIG_H \
34 -M "Programmer's Manual"
36 VPATH += $(includevpath)
38 c2man.stamp: $(headers)
41 @($(LN_S) $^ . || cp $^ .)
43 @$(top_srcdir)/missing --run c2man -T n $(C2MANFLAGS) $(headers) 2>&1 \
49 @if ! test -f $@; then \
51 $(MAKE) $(AM_MAKEFLAGS) $<;\
55 -include $(top_srcdir)/git.mk