Revert
ed2eeac82036c583fb1298aa21f80dff9e44ab91
"Work around 'make web-clean' madness": the problem described comes
from $(outdir)/$(INFO_IMAGES_DIR).info-images-dir.dep, which is a
dependency for the makefile itself through the following line in
stepmake/stepmake/generic-targets.make:
-include $(outdir)/dummy.dep $(wildcard $(outdir)/*.dep)
The solution is to rename the ".dep" file suffix as "-dep", which this
commit does.
$(MAKE) out=www WWW-post
web-clean:
$(MAKE) out=www WWW-post
web-clean:
- find -name out-www | xargs rm -rf
# prerequisite, otherwise %.info are always outdated (because older
# than $(outdir), hence this .dep file
# prerequisite, otherwise %.info are always outdated (because older
# than $(outdir), hence this .dep file
-$(outdir)/$(INFO_IMAGES_DIR).info-images-dir.dep: $(INFO_DOCS:%=$(outdir)/%.texi)
+$(outdir)/$(INFO_IMAGES_DIR).info-images-dir-dep: $(INFO_DOCS:%=$(outdir)/%.texi)
ifneq ($(INFO_IMAGES_DIR),)
rm -f $(INFO_IMAGES_DIR)
ln -s $(outdir) $(INFO_IMAGES_DIR)
ifneq ($(INFO_IMAGES_DIR),)
rm -f $(INFO_IMAGES_DIR)
ln -s $(outdir) $(INFO_IMAGES_DIR)
-$(outdir)/%.info: $(outdir)/%.texi $(outdir)/$(INFO_IMAGES_DIR).info-images-dir.dep $(outdir)/version.itexi
+$(outdir)/%.info: $(outdir)/%.texi $(outdir)/$(INFO_IMAGES_DIR).info-images-dir-dep $(outdir)/version.itexi
$(MAKEINFO) -I$(outdir) --output=$@ $<
$(outdir)/%-big-page.html: $(outdir)/%.texi $(outdir)/version.itexi
$(MAKEINFO) -I$(outdir) --output=$@ $<
$(outdir)/%-big-page.html: $(outdir)/%.texi $(outdir)/version.itexi
echo $(TOPLEVEL_VERSION)>> $@
echo '@end macro'>> $@
echo $(TOPLEVEL_VERSION)>> $@
echo '@end macro'>> $@
-.SECONDARY: $(outdir)/version.itexi $(outdir)/version.texi
+.SECONDARY: $(outdir)/version.itexi $(outdir)/version.texi \
+ $(outdir)/$(INFO_IMAGES_DIR).info-images-dir-dep