Skip to content
Snippets Groups Projects
Commit adbb8249 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Now automatic rebuilding of machine.h seems to work.

Rev: src/Makefile.in:1.91
parent 82f8eef8
No related branches found
No related tags found
No related merge requests found
#
# $Id: Makefile.in,v 1.90 1998/05/17 16:59:51 grubba Exp $
# $Id: Makefile.in,v 1.91 1998/05/22 16:47:41 grubba Exp $
#
# This line is needed on some machines.
......@@ -404,12 +404,40 @@ depend: $(SRCDIR)/language.c
( cd modules ; $(MAKE) $(MAKE_FLAGS) depend )
$(SRCDIR)/configure @ac_configure_args@
# Documentation...
docs:
mkdir docs
html_docs: docs
$(RUNPIKE) $(TMP_BINDIR)/htmlify_docs docs $(TMP_DOCDIR) `echo $(SRCDIR)/modules/*/doc`
wmml: force
@test -d wmml/. || mkdir wmml
@modules="`cd $(SRCDIR)/modules; ls -d */. | sed -e '/^_.*/d' -e 's/\/\.$$//'`"; \
echo The following modules are interresting:; \
echo "$$modules"; \
for d in $$modules; do \
echo Testing $$d...; \
if test -f "$(SRCDIR)/modules/$$d/wmml-header"; then \
echo Module $$d seems to contain WMML docs.; \
$(RUNPIKE) $(TMP_BINDIR)/mkwmml.pike \
"$(SRCDIR)/modules/$$d/wmml-header" \
`find $(SRCDIR)/modules/$$d/. $(SRCDIR)/modules/_$$d*/. -name '*.[ch]' -print 2>/dev/null` \
"$(SRCDIR)/modules/$$d/wmml-footer" >wmml/$$d.wmml; \
else :; fi; \
done
manpages: wmml
@(if test -f "$(SRCDIR)/../tutorial/tutorial.wmml"; then \
cat "$(SRCDIR)/../tutorial/tutorial.wmml"; \
else \
cat wmml/*.wmml; \
fi) | (cd wmml; $(RUNPIKE) $(TMP_BINDIR)/wmmltohtml2 \
$(TMP_BINDIR)/manpages man/man)
# Lobotomization...
lobotomize_crypto:
( cd $(SRCDIR)/modules/_Crypto ; ./.build_lobotomized_crypto )
( cd $(SRCDIR)/modules/_Lobotomized_Crypto ; autoconf )
......@@ -466,6 +494,9 @@ $(SRCDIR)/stamp-h.in: $(SRCDIR)/configure.in $(SRCDIR)/acconfig.h
echo foo > $(SRCDIR)/stamp-h.in
machine.h: stamp-h
@if test -f stamp-h; then \
rm stamp-h; $(MAKE) stamp-h; \
else :; fi
stamp-h: $(SRCDIR)/machine.h.in config.status
CONFIG_FILES="" CONFIG_HEADERS=machine.h ./config.status
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment