diff --git a/Makefile b/Makefile index 054f3b4c..2aad9d4b 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ DIRS = vimperator muttator -TARGETS = tildetidy clean distclean doc help info jar release xpi +TARGETS = clean distclean doc help info jar release xpi +.PHONY = tildetidy .SILENT: $(TARGETS:%=\%.%): @@ -9,3 +10,6 @@ $(TARGETS:%=\%.%): $(TARGETS): %: $(DIRS:%=%.%) +tildetidy: + @echo "Removing vim backup files..." + find . -name '*~' -exec rm -fv {} \; diff --git a/common/Makefile.common b/common/Makefile.common index 82e48939..f3fbc038 100644 --- a/common/Makefile.common +++ b/common/Makefile.common @@ -39,7 +39,7 @@ ASCIIDOC = asciidoc #### rules -.PHONY: all help info doc jar xpi install clean distclean tildetidy $(JAR) +.PHONY: all help info doc jar xpi install clean distclean $(JAR) all: help help: @@ -85,10 +85,6 @@ distclean: clean @set -e; for locale in $(LOCALES); do $(MAKE) -C clean; doc; done rm -rf ${BUILD_DIR} -tildetidy: - @echo "Removing vim backup files..." - find . -name '*~' -exec rm -fv {} \; - #### xpi $(XPI): $(JAR) diff --git a/common/Makefile.doc b/common/Makefile.doc index 2ab13dbc..6777d234 100644 --- a/common/Makefile.doc +++ b/common/Makefile.doc @@ -24,7 +24,7 @@ AWK = awk #### rules -.PHONY: all help doc asciidoc check-asciidoc clean distclean tildetidy +.PHONY: all help doc asciidoc check-asciidoc clean distclean all: doc doc: asciidoc t2t @@ -47,10 +47,6 @@ distclean: clean @echo "More cleanup..." rm -f $(DOC_FILES) -tildetidy: - @echo "Removing vim backup files..." - find . -name '*~' -exec rm -fv {} \; - #### Makes single-file makes easier to type %: %.html %.t2t %.xhtml %.t2t ;