1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-05 20:54:12 +01:00

Moved tildetidy into main Makefile.

This commit is contained in:
Ted Pavlic
2009-01-12 10:10:28 -05:00
parent 315d457eb5
commit 853b03ba4d
3 changed files with 7 additions and 11 deletions

View File

@@ -1,6 +1,7 @@
DIRS = vimperator muttator 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: .SILENT:
$(TARGETS:%=\%.%): $(TARGETS:%=\%.%):
@@ -9,3 +10,6 @@ $(TARGETS:%=\%.%):
$(TARGETS): %: $(DIRS:%=%.%) $(TARGETS): %: $(DIRS:%=%.%)
tildetidy:
@echo "Removing vim backup files..."
find . -name '*~' -exec rm -fv {} \;

View File

@@ -39,7 +39,7 @@ ASCIIDOC = asciidoc
#### rules #### 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 all: help
help: help:
@@ -85,10 +85,6 @@ distclean: clean
@set -e; for locale in $(LOCALES); do $(MAKE) -C clean; doc; done @set -e; for locale in $(LOCALES); do $(MAKE) -C clean; doc; done
rm -rf ${BUILD_DIR} rm -rf ${BUILD_DIR}
tildetidy:
@echo "Removing vim backup files..."
find . -name '*~' -exec rm -fv {} \;
#### xpi #### xpi
$(XPI): $(JAR) $(XPI): $(JAR)

View File

@@ -24,7 +24,7 @@ AWK = awk
#### rules #### rules
.PHONY: all help doc asciidoc check-asciidoc clean distclean tildetidy .PHONY: all help doc asciidoc check-asciidoc clean distclean
all: doc all: doc
doc: asciidoc t2t doc: asciidoc t2t
@@ -47,10 +47,6 @@ distclean: clean
@echo "More cleanup..." @echo "More cleanup..."
rm -f $(DOC_FILES) rm -f $(DOC_FILES)
tildetidy:
@echo "Removing vim backup files..."
find . -name '*~' -exec rm -fv {} \;
#### Makes single-file makes easier to type #### Makes single-file makes easier to type
%: %.html %.t2t %.xhtml %.t2t ; %: %.html %.t2t %.xhtml %.t2t ;