1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-28 16:00:22 +02:00

* Makefile.am: Separate out DOT_X_FILES and DOT_DOC_FILES, and

generate the latter from the concrete listing of the former.  Then
make guile-procedures.txt depend on DOT_DOC_FILES instead of
*.doc, so that rebuilding it works.
This commit is contained in:
Greg J. Badros 2000-03-15 16:25:37 +00:00
parent dd6390bf76
commit 9515eae657

View file

@ -50,7 +50,7 @@ libguile_la_SOURCES = \
strports.c struct.c symbols.c tag.c throw.c variable.c \
vectors.c version.c vports.c weaks.c
BUILT_SOURCES = \
DOT_X_FILES = \
cpp_err_symbols.c cpp_sig_symbols.c libpath.h alist.x arbiters.x \
async.x backtrace.x boolean.x chars.x continuations.x debug.x \
dynl.x dynwind.x eq.x error.x eval.x evalext.x feature.x filesys.x \
@ -64,6 +64,10 @@ BUILT_SOURCES = \
strports.x struct.x symbols.x tag.x threads.x throw.x unif.x \
variable.x vectors.x version.x vports.x weaks.x
DOT_DOC_FILES = $(DOT_X_FILES:.x=.doc)
BUILT_SOURCES = $(DOT_X_FILES) $(DOT_DOC_FILES)
EXTRA_libguile_la_SOURCES = _scm.h \
alloca.c inet_aton.c memmove.c putenv.c strerror.c \
threads.c regex-posix.c \
@ -167,8 +171,7 @@ SUFFIXES = .x .doc
PATH=.:${PATH} ./guile-doc-snarf $< $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $< \
|| { rm $@; false; }
## GJB:FIXME:: this is ugly; generate the *.doc files from the *.x file list, above
guile-procedures.txt: *.doc
guile-procedures.txt: $(DOT_DOC_FILES)
cat *.doc > $@
pkgdata_DATA = guile-procedures.txt