[FriBidi-commit] fribidi/doc Makefile.am,1.1.1.1,1.2
Behdad Esfahbod
behdad at pdx.freedesktop.org
Wed Apr 28 02:47:24 EST 2004
- Previous message: [FriBidi-commit] fribidi/charset Headers.mk, 1.1.1.1,
1.2 fribidi-char-sets-list.h, 1.1.1.1, 1.2
- Next message: [FriBidi-commit] fribidi/lib Headers.mk, 1.1.1.1,
1.2 bidi-types-list.h, 1.1.1.1, 1.2 common.h, 1.1.1.1,
1.2 debug.h, 1.1.1.1, 1.2 fribidi-begindecls.h, 1.1.1.1,
1.2 fribidi-enddecls.h, 1.1.1.1, 1.2 fribidi-types.h, 1.1.1.1,
1.2 mem.h, 1.1.1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvs/fribidi/fribidi/doc
In directory pdx:/tmp/cvs-serv26991/doc
Modified Files:
Makefile.am
Log Message:
First try to integrate c2man manual generation in build system.
Index: Makefile.am
===================================================================
RCS file: /cvs/fribidi/fribidi/doc/Makefile.am,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- a/Makefile.am 25 Apr 2004 18:47:57 -0000 1.1.1.1
+++ b/Makefile.am 27 Apr 2004 16:47:22 -0000 1.2
@@ -1,27 +1,51 @@
-libfribidi_mans = \
- fribidi_get_bidi_type.3
- fribidi_get_bidi_types.3
- fribidi_log2vis.3
- fribidi_log2vis_get_embedding_levels.3
- fribidi_remove_bidi_marks.3
- fribidi_get_mirror_char.3
- fribidi_debug_status.3
- fribidi_set_debug.3
- fribidi_mirroring_status.3
- fribidi_set_mirroring.3
- fribidi_reorder_nsm_status.3
- fribidi_set_reorder_nsm.3
+# man3
+includepath = -I$(top_builddir)
+includevpath = $(top_builddir)
+headers =
+inst_symbols =
+noinst_symbols =
+include $(top_srcdir)/lib/Headers.mk
+headers += $(libfribidi_la_headers)
+includepath += -I$(top_srcdir)/lib -I$(top_builddir)/lib
+includevpath += :$(top_srcdir)/lib:$(top_builddir)/lib
+inst_symbols += $(libfribidi_la_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
+# name of the header to include in the manual
+headers += fribidi.h
-endif
+dist_man_MANS = $(inst_symbols:=.3)
+dist_noinst_MANS = $(noinst_symbols:=.3)
-headers =
-include $(top_srcdir)/charset/Headers.mk
-headers += $(libfribidi_char_sets_la_headers)
-include $(top_srcdir)/lib/Headers.mk
-headers += $(libfribidi_la_headers)
+man3 = $(dist_man_MANS) $(dist_noinst_MANS)
+
+MAINTAINERCLEANFILES = $(man3)
+C2MANFLAGS = $(includepath) -DDONT_HAVE_FRIBIDI_CONFIG_H -M "$(PACKAGE_NAME)"
+VPATH += $(includevpath)
+
+c2man.stamp: $(headers)
+ @$(RM) $@.tmp
+ @touch $@.tmp
+ $(top_srcdir)/missing --run c2man -T n $(C2MANFLAGS) $^
+ @mv $@.tmp $@
+
+$(man3): c2man.stamp
+ @if test -f $@; then \
+ touch $@; \
+ else \
+ $(RM) $<; \
+ $(MAKE) $(AM_MAKEFLAGS) $<; \
+ fi
- Previous message: [FriBidi-commit] fribidi/charset Headers.mk, 1.1.1.1,
1.2 fribidi-char-sets-list.h, 1.1.1.1, 1.2
- Next message: [FriBidi-commit] fribidi/lib Headers.mk, 1.1.1.1,
1.2 bidi-types-list.h, 1.1.1.1, 1.2 common.h, 1.1.1.1,
1.2 debug.h, 1.1.1.1, 1.2 fribidi-begindecls.h, 1.1.1.1,
1.2 fribidi-enddecls.h, 1.1.1.1, 1.2 fribidi-types.h, 1.1.1.1,
1.2 mem.h, 1.1.1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the FriBidi-Commit
mailing list