local-dist: configure
local-distclean:
- rm -f config.hh config.make Makefile config.cache \
- config.status config.log index.html
+ rm -f config.h config.hh config.make Makefile GNUmakefile \
+ config.cache config.status config.log index.html
local-maintainerclean:
rm -f configure
GNUmakefile: make/toplevel.make.in
- chmod +w $@
- echo "# WARNING WARNING WARNING WARNING" > $@
- echo "# do not edit! this is generated from make/Toplevel.make.in" >> $@
- cat $< >> $@
- chmod -w $@
+ $(MAKE) INFILE=$< OUTFILE=$@ -f $(stepdir)/automatically-generated.sub.make
-aclocal.m4: $(stepdir)/../aclocal.m4
- cp $< $@
+ifneq ($(PACKAGE),STEPMAKE)
+aclocal.m4: $(stepmake)/aclocal.m4
+ $(MAKE) INFILE=$< OUTFILE=$@ LINECOMMENT=dnl -f $(stepdir)/automatically-generated.sub.make
+endif
local-WWW: #index.html
$(sed-version) < Documentation/topdocs/$(outdir)/topweb.html > $@
$(PYTHON) $(step-bindir)/add-html-footer.py --package=$(topdir) --index=Documentation/top-docs/out-www/index.html $@
-WWW-clean:
+WWW-clean: local-WWW-clean
$(MAKE) CONFIGSUFFIX='www' clean
-dist:
+local-WWW-clean:
+
+dist:
rm -rf $(distdir)
$(MAKE) local-dist $(distdir)
chmod -R a+r $(distdir)
# ugh.
# Can't compare "stage1" dist with "stage2" dist in this way?
-ln -f $(depth)/$(outdir)/$(distname).tar.gz $(release-dir)
- rm -rf ./$(distdir)/
+ rm -rf $(distdir)/
local-help:
- @echo -e "\
- dist roll tarball: $(outdir)/$(package)-$(TOPLEVEL_VERSION).tar.gz\n"
-