1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-28 19:02:29 +01:00

More doc Makefile convenience edits.

This commit is contained in:
Ted Pavlic
2009-01-07 12:24:51 -05:00
parent 3beb76a4b6
commit 653ff0fb72
3 changed files with 30 additions and 11 deletions

View File

@@ -1,9 +1,18 @@
THISLOCALE=$(notdir $(shell pwd))
THIS_LOCALE = $(notdir $(shell pwd))
DOC_FILES = $(addsuffix .html,$(basename $(wildcard *.txt)))
all: *.html
.PHONY: all doc clean distclean
doc: $(DOC_FILES)
clean:
find . -name '*~' -exec rm -f {} \;
distclean: clean
rm -f $(DOC_FILES)
%: %.html %.txt
@
%.html: %.txt asciidoc.conf
@make -C ../../ locale/$(THISLOCALE)/$@
%.html: %.txt ../../../common/Makefile.common asciidoc.conf
@make -C ../../ locale/$(THIS_LOCALE)/$@