diff options
Diffstat (limited to 'help-boot/Makefile')
-rw-r--r-- | help-boot/Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/help-boot/Makefile b/help-boot/Makefile new file mode 100644 index 0000000..be62ce8 --- /dev/null +++ b/help-boot/Makefile @@ -0,0 +1,20 @@ +BINDIR = $(shell [ -x ../../../gfxboot ] && echo ../../../ ) +GFXBOOT = $(BINDIR)gfxboot +PRODUCT = $(shell perl -ne 'print if s/^product=//' ../config) +HELPFILES = $(addsuffix .hlp, $(shell for i in * ; do [ -d $$i ] && echo $$i ; done)) + +HELPSRC = opt* +HELPNAVI = navi +ENTITIES = product='$(PRODUCT)' fkey_help=F1 fkey_lang=F2 fkey_profile=F3 + +%.hlp: % + $(GFXBOOT) --help-create $@ --define $(ENTITIES) --navi $</$(HELPNAVI).html $</$(HELPSRC).html || true + +all: .ready + +.ready: $(HELPFILES) + @touch .ready + +clean: + rm -f .ready *.hlp *~ + |