Index: mttroot/mtt/Makefile ================================================================== --- mttroot/mtt/Makefile +++ mttroot/mtt/Makefile @@ -23,18 +23,24 @@ @touch clean.sh @-chmod a+x clean.sh @./clean.sh @rm -f clean.sh +clean-conf: + @touch clean-conf.sh + @-chmod a+x clean-conf.sh + @./clean-conf.sh + @rm -f clean-conf.sh + clean-doc: @touch clean-doc.sh @-chmod a+x clean-doc.sh @./clean-doc.sh @rm -f clean-doc.sh @cd doc ; make -s clean -distclean: clean clean-doc +distclean: clean clean-conf clean-doc @-rm -f build-stamp configure-stamp config.log mtt.sh install: build clean.sh @install -d $(INSTDIR) $(CONFDIR) $(PROGDIR) @install -d $(INSTDIR)/bin $(INSTDIR)/cc $(INSTDIR)/lib @@ -49,14 +55,18 @@ .PHONY: FORCE clean.sh: FORCE @echo '#! /bin/sh' >>clean.sh @echo '# This file is auto-generated - do not edit' >>clean.sh - @echo 'rm -f $(CONFDIR)/mtt.conf' >>clean.sh @echo 'rm -f $(PROGDIR)/mtt' >>clean.sh @echo 'rm -fr $(INSTDIR)' >>clean.sh +clean-conf.sh: FORCE + @echo '#! /bin/sh' >>clean-conf.sh + @echo '# This file is auto-generated - do not edit' >>clean-conf.sh + @echo 'rm -f $(CONFDIR)/mtt.conf' >>clean-conf.sh + clean-doc.sh: FORCE @echo '#! /bin/sh' >>clean-doc.sh @echo '# This file is auto-generated - do not edit' >>clean-doc.sh @echo 'rm -fr $(DOCDIR)' >>clean-doc.sh @echo 'rm -f $(INFODIR)/mtt.info*' >>clean-doc.sh