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:
@@ -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)/$@
|
||||
|
||||
Reference in New Issue
Block a user