mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-31 22:02:27 +01:00
19 lines
360 B
Makefile
19 lines
360 B
Makefile
THIS_LOCALE = $(notdir $(shell pwd))
|
|
DOC_FILES = $(addsuffix .html,$(basename $(wildcard *.txt)))
|
|
|
|
.PHONY: all doc clean distclean
|
|
|
|
doc: $(DOC_FILES)
|
|
|
|
clean:
|
|
find . -name '*~' -exec rm -f {} \;
|
|
|
|
distclean: clean
|
|
rm -f $(DOC_FILES)
|
|
|
|
%: %.html %.txt
|
|
@
|
|
|
|
%.html: %.txt ../../../common/Makefile.common asciidoc.conf
|
|
@make -C ../../ locale/$(THIS_LOCALE)/$@
|