4 # override Variables.make:
5 # do not dist ./Makefile (is copied from make/Toplevel.make)
7 DIST_FILES := $(EXTRA_DIST_FILES)
13 rm -f config.hh config.make Makefile config.cache \
14 config.status config.log index.html
16 local-maintainerclean:
19 Makefile: make/Toplevel.make.in
21 echo "# WARNING WARNING WARNING WARNING" > $@
22 echo "# do not edit! this is generated from make/Toplevel.make.in" >> $@
27 $(MAKE) CONFIGSUFFIX='www' local-WWW
28 $(MAKE) CONFIGSUFFIX='www' -C Documentation WWW
29 rm -f `find . -name \*.html~ -print`
30 find `find Documentation -type d -name 'out-www'` -not -name '*dvi' -not -name '*ly' -not -name '*tex' -not -name '*.ps' -not -name 'out-www' > wwwlist
32 tar cfz $(outdir)/htmldoc.tar.gz `cat wwwlist` $(shell ls *.gif $(ERRORLOG))
36 # if you fix this, please fix yodl too!
38 $(MAKE) -C Documentation/topdocs WWW
40 local-WWW: #index.html
42 index.html: check-top-web NEWS
43 $(sed-version) < Documentation/topdocs/$(outdir)/topweb.html > $@
44 $(PYTHON) $(step-bindir)/add-html-footer.py --package=$(topdir) --index=Documentation/top-docs/out-www/index.html $@
47 $(MAKE) CONFIGSUFFIX='www' clean
50 dist: check-state-vector
52 $(MAKE) local-dist $(distdir)
53 chmod -R a+r $(distdir)
54 chmod a+x `find $(distdir) -type d -print`
55 (cd ./$(depth)/$(outdir); $(TAR) cf - $(DIST_NAME) | gzip -9 > $(DIST_NAME).tar.gz)
57 # Can't compare "stage1" dist with "stage2" dist in this way?
58 -ln -f $(depth)/$(outdir)/$(distname).tar.gz $(release-dir)
63 dist roll tarball: $(outdir)/$(package)-$(TOPLEVEL_VERSION).tar.gz\n"