summaryrefslogtreecommitdiffstats
path: root/help-install/Makefile
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2009-01-27 17:30:08 +0000
committerPascal Rigaux <pixel@mandriva.com>2009-01-27 17:30:08 +0000
commit5ce8d30439463838f845c78bc926cc9b310a8743 (patch)
treebb1852dc58711c7baee31216a765067dfa49b65b /help-install/Makefile
parent10658e71475bd964263d09f1a661f24fadfaf496 (diff)
downloadbootloader-theme-5ce8d30439463838f845c78bc926cc9b310a8743.tar
bootloader-theme-5ce8d30439463838f845c78bc926cc9b310a8743.tar.gz
bootloader-theme-5ce8d30439463838f845c78bc926cc9b310a8743.tar.bz2
bootloader-theme-5ce8d30439463838f845c78bc926cc9b310a8743.tar.xz
bootloader-theme-5ce8d30439463838f845c78bc926cc9b310a8743.zip
imported openSUSE.tar.bz2 (from gfxboot-4.1.19-2.1.src.rpm)4.1.19.1
Diffstat (limited to 'help-install/Makefile')
-rw-r--r--help-install/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/help-install/Makefile b/help-install/Makefile
new file mode 100644
index 0000000..c9645b4
--- /dev/null
+++ b/help-install/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 = main*
+HELPNAVI = navi
+ENTITIES = product='$(PRODUCT)' fkey_help=F1 fkey_lang=F2 fkey_video=F3 fkey_inst=F4 fkey_dud=F6
+
+%.hlp: %
+ $(GFXBOOT) --help-create $@ --define $(ENTITIES) --navi $</$(HELPNAVI).html $</$(HELPSRC).html || true
+
+all: .ready
+
+.ready: $(HELPFILES)
+ @touch .ready
+
+clean:
+ rm -f .ready *.hlp *~
+