Commit d06be8d4 d06be8d435fad84ec5704e10d072fc37eafe8da3 by Sergey Poznyakoff

(GUILE_BUILT_SOURCES_X,DISTCLEANFILES): Add guile-procedures.texi

(guile-procedures.texi): New rule
1 parent 8453ccd7
...@@ -78,11 +78,11 @@ DOT_DOC_FILES=\ ...@@ -78,11 +78,11 @@ DOT_DOC_FILES=\
78 mu_scm.doc\ 78 mu_scm.doc\
79 mu_util.doc 79 mu_util.doc
80 80
81 GUILE_BUILT_SOURCES_X=$(DOT_X_FILES) $(DOT_DOC_FILES) 81 GUILE_BUILT_SOURCES_X=$(DOT_X_FILES) $(DOT_DOC_FILES) guile-procedures.texi
82 82
83 BUILT_SOURCES=@GUILE_BUILT_SOURCES@ 83 BUILT_SOURCES=@GUILE_BUILT_SOURCES@
84 84
85 DISTCLEANFILES=$(DOT_X_FILES) $(DOT_DOC_FILES) @GUILE_SITE_DATA@ 85 DISTCLEANFILES=$(DOT_X_FILES) $(DOT_DOC_FILES) guile-procedures.texi @GUILE_SITE_DATA@
86 CLEANFILES=*.inc 86 CLEANFILES=*.inc
87 87
88 AM_CPPFLAGS=-DDATADIR=\"$(pkgdatadir)\" 88 AM_CPPFLAGS=-DDATADIR=\"$(pkgdatadir)\"
...@@ -106,11 +106,16 @@ SUFFIXES=.x .doc .inc .in ...@@ -106,11 +106,16 @@ SUFFIXES=.x .doc .inc .in
106 .c.inc: 106 .c.inc:
107 sed -n 's/SCM_DEFINE *(.[^,]*, *\"\([^"][^"]*\)\".*/[(export \1)]/p' $< > $@ 107 sed -n 's/SCM_DEFINE *(.[^,]*, *\"\([^"][^"]*\)\".*/[(export \1)]/p' $< > $@
108 108
109 guile-procedures.txt: $(DOT_DOC_FILES) 109 guile-procedures.texi: $(DOT_DOC_FILES)
110 cat $(DOT_DOC_FILES) > $@ 110 cat $(DOT_DOC_FILES) > $@
111 111
112 guile-procedures.txt: guile-procedures.texi
113 rm -f $@
114 $(MAKEINFO) --force -o $@ guile-procedures.texi || test -f $@
115
112 mailutils.scm: mailutils.scm.in $(C_SRCS:.c=.inc) 116 mailutils.scm: mailutils.scm.in $(C_SRCS:.c=.inc)
113 m4 -DVERSION=$(VERSION) -DLIBDIR=$(libdir) \ 117 m4 -DVERSION=$(VERSION) -DLIBDIR=$(libdir) \
118 -DSITEDIR=$(sitedir) \
114 -DBUILDDIR=$(top_builddir)/libmu_scm \ 119 -DBUILDDIR=$(top_builddir)/libmu_scm \
115 $(srcdir)/mailutils.scm.in > $@ 120 $(srcdir)/mailutils.scm.in > $@
116 121
......