head	1.3;
access;
symbols
	gfxboot-grub25:1.1.1.1 morphix:1.1.1;
locks; strict;
comment	@# @;


1.3
date	2005.11.08.17.42.31;	author tcheun;	state Exp;
branches;
next	1.2;

1.2
date	2005.10.25.09.08.47;	author tcheun;	state Exp;
branches;
next	1.1;

1.1
date	2005.10.17.17.14.24;	author tcheun;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2005.10.17.17.14.24;	author tcheun;	state Exp;
branches;
next	;


desc
@@


1.3
log
@Remove install and timeout
@
text
@HELP2TXT     = $(BINDIR)help2txt
MKBOOTMSG    = $(BINDIR)mkbootmsg
BFLAGS       = -O -v -L ../..
INCLUDES     = $(wildcard *.inc)
TRANSLATIONS = $(addprefix texts.,en $(notdir $(basename $(wildcard po/*.po))))
HELPBOOT     = $(addprefix boot/help,$(suffix $(basename $(wildcard help-boot.*.html))))
HELPINST     = $(addprefix install/help,$(suffix $(basename $(wildcard help-install.*.html))))

HELPBOOT_ALL = $(notdir $(HELPBOOT))
HELPINST_ALL = $(notdir $(HELPINST))

DEFAULT_LANG = ko

FILES_INST   = init languages $(TRANSLATIONS) 16x16.font background.pcx \
	       splash.pcx kroete.data \
	       $(HELPINST_ALL)

FILES_BOOT   = init languages $(TRANSLATIONS) 16x16.font background.pcx \
	       $(HELPBOOT_ALL)

FILES_BOOT_EN = init languages texts.en 16x16.font background.pcx \
	       help.en

ifdef DEFAULT_LANG
FILES_INST += lang
FILES_BOOT += lang
endif

boot/help.%: help-boot.%.html boot
	$(HELP2TXT) $< >$@@

.PHONY: all themes font clean po

all: themes

boot : po
	mkdir -p $@@

po:
	make -C po

themes: bootdir 

bootdir: boot.config $(INCLUDES) $(HELPBOOT)
	@@cp -a po/texts.* boot
	@@for i in $(FILES_BOOT) ; do [ -f $$i ] && cp $$i boot ; done ; true
#	@@echo en >boot/languages
	$(MKBOOTMSG) $(BFLAGS) -l boot/log -c $< boot/init
ifdef DEFAULT_LANG
	@@echo $(DEFAULT_LANG) >boot/lang
endif
	@@sh -c 'cd boot; echo $(FILES_BOOT) | sed -e "s/ /\n/g" | cpio --quiet -o >message'

installdir: install.config $(INCLUDES) $(HELPINST)
	@@cp -a po/texts.* install
	@@for i in $(FILES_INST) ; do [ -f $$i ] && cp $$i install ; done ; true
	$(MKBOOTMSG) $(BFLAGS) -l install/log -c $< install/init
ifdef DEFAULT_LANG
	@@echo $(DEFAULT_LANG) >install/lang
endif
	@@sh -c 'cd install; echo $(FILES_INST) | sed -e "s/ /\n/g" | cpio --quiet -o >bootlogo'

font:
	getx11font -v -l 18 -p 2,4 \
	-c ISO-8859-1 -c ISO-8859-2 -c koi8-r \
	-t help-boot.ko.html.16 \
	-f -dec-terminal-medium-r-normal--14-140-75-75-c-80-iso8859-1 \
	-f -misc-gulim-medium-r-normal-ko-12-120-75-75-c-120-iso10646-1 \
	16x16.font >16x16.font.log

clean:
	make -C po clean
	rm -f bootdir installdir *~
	rm -rf boot install

@


1.2
log
@remove install part
@
text
@d7 1
d10 1
d14 4
d25 1
d36 1
a36 1
boot: po
d42 1
a42 1
themes: bootdir
d54 9
d65 4
a68 4
	-c ISO-8859-15 -c ISO-8859-2 -c koi8-r \
	-t help-boot.ko.html \
	-t po/ko.po \
	-f -misc-fixed-medium-r-normal-ko-18-120-100-100-c-180-iso10646-1 \
d73 2
a74 2
	rm -f bootdir *~
	rm -rf boot
@


1.1
log
@Initial revision
@
text
@a6 1
HELPINST     = $(addprefix install/help,$(suffix $(basename $(wildcard help-install.*.html))))
a8 1
HELPINST_ALL = $(notdir $(HELPINST))
d10 1
a10 5
DEFAULT_LANG = en

FILES_INST   = init languages $(TRANSLATIONS) 16x16.font background.pcx \
	       splash.pcx kroete.data \
	       $(HELPINST_ALL)
a18 1
FILES_INST += lang
a24 3
install/help.%: help-install.%.html install
	$(HELP2TXT) $< >$@@

d29 1
a29 1
boot install: po
d35 1
a35 1
themes: bootdir installdir
a46 9
installdir: install.config $(INCLUDES) $(HELPINST)
	@@cp -a po/texts.* install
	@@for i in $(FILES_INST) ; do [ -f $$i ] && cp $$i install ; done ; true
	$(MKBOOTMSG) $(BFLAGS) -l install/log -c $< install/init
ifdef DEFAULT_LANG
	@@echo $(DEFAULT_LANG) >install/lang
endif
	@@sh -c 'cd install; echo $(FILES_INST) | sed -e "s/ /\n/g" | cpio --quiet -o >bootlogo'

d50 3
a52 6
	-t help-boot.ja.html \
	-t help-install.ja.html \
	-t po/ja.po \
	-t install/log -t boot/log \
	-f -efont-fixed-medium-r-normal--16-160-75-75-c-80-iso10646-1 \
	-f -efont-fixed-medium-r-normal--16-160-75-75-c-160-iso10646-1 \
d57 2
a58 2
	rm -f bootdir installdir *~
	rm -rf boot install
@


1.1.1.1
log
@morhhix
@
text
@@
