2 # title Toplevel_targets.make
7 rm -f config.h config.hh config.make Makefile GNUmakefile \
8 config.cache config.status config.log index.html
10 local-maintainerclean:
13 GNUmakefile: make/toplevel.make.in
14 $(MAKE) INFILE=$< OUTFILE=$@ -f $(stepdir)/automatically-generated.sub.make
16 ifneq ($(PACKAGE),STEPMAKE)
17 aclocal.m4: $(stepmake)/aclocal.m4
18 $(MAKE) INFILE=$< OUTFILE=$@ LINECOMMENT=dnl -f $(stepdir)/automatically-generated.sub.make
21 local-WWW: #index.html
23 index.html: check-top-web NEWS
24 $(sed-version) < Documentation/topdocs/$(outdir)/topweb.html > $@
25 $(PYTHON) $(step-bindir)/add-html-footer.py --package=$(topdir) --index=Documentation/top-docs/out-www/index.html $@
27 WWW-clean: local-WWW-clean
28 $(MAKE) CONFIGSUFFIX='www' clean
34 $(MAKE) local-dist $(distdir)
35 chmod -R a+r $(distdir)
36 chmod a+x `find $(distdir) -type d -print`
37 (cd ./$(depth)/$(outdir); $(TAR) cf - $(DIST_NAME) | gzip -9 > $(DIST_NAME).tar.gz)
39 # Can't compare "stage1" dist with "stage2" dist in this way?
40 -ln -f $(depth)/$(outdir)/$(distname).tar.gz $(release-dir)