pike.git/
src/
Makefile.in
Branch:
Tag:
Non-build tags
All tags
No tags
1998-05-22
1998-05-22 16:47:41 by Henrik Grubbström (Grubba) <grubba@grubba.org>
adbb8249889edc831ec42f7aa2bdbcc8ea192ea2 (
34
lines) (+
33
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
Now automatic rebuilding of machine.h seems to work.
Rev: src/Makefile.in:1.91
1:
#
-
# $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:
( 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:
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