More doc Makefile convenience edits.

This commit is contained in:
Ted Pavlic committed 2009-01-07 12:24:51 -05:00
1 parent 3beb76a4b6
commit 653ff0fb72
3 files changed
+30 -11

No files matched your search

+13 -4
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)/$@