diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2009-01-27 17:30:43 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2009-01-27 17:30:43 +0000 |
commit | 7ec1fa01d0f039ab1d066b8a2fed5d15c0a85e45 (patch) | |
tree | 443468d3457641d5ebbf093e38183db46a87707f | |
parent | c8229b8b052d41f9e9df0553b015e88a7493f8f7 (diff) | |
download | bootloader-theme-7ec1fa01d0f039ab1d066b8a2fed5d15c0a85e45.tar bootloader-theme-7ec1fa01d0f039ab1d066b8a2fed5d15c0a85e45.tar.gz bootloader-theme-7ec1fa01d0f039ab1d066b8a2fed5d15c0a85e45.tar.bz2 bootloader-theme-7ec1fa01d0f039ab1d066b8a2fed5d15c0a85e45.tar.xz bootloader-theme-7ec1fa01d0f039ab1d066b8a2fed5d15c0a85e45.zip |
do not have files both in the tarball and in the directory
- for syslinux, some files must be in "bootlogo", while most of them can be
outside of "bootlogo"
- for grub, "message.dir" files are all in "message" file, so message.dir is
useless
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -13,6 +13,8 @@ BFLAGS = -O -v -L ../.. SUBDIRS = fonts help-boot help-install po src +IN_CPIO_INSTALL = init $(notdir $(wildcard fonts/*.fnt)) $(notdir $(wildcard po/*.tr)) + DEFAULT_LANG = .PHONY: all clean distclean themes $(SUBDIRS) @@ -49,7 +51,8 @@ ifdef DEFAULT_LANG @echo $(DEFAULT_LANG) >bootlogo.dir/lang endif @sh -c 'cd bootlogo.dir; chmod +t * ; chmod -t init languages' - @sh -c 'cd bootlogo.dir; echo * | sed -e "s/ /\n/g" | cpio --quiet -o >../bootlogo' + @sh -c 'cd bootlogo.dir; echo $(IN_CPIO_INSTALL) | sed -e "s/ /\n/g" | cpio --quiet -o >../bootlogo' + @cd bootlogo.dir; rm $(IN_CPIO_INSTALL) message: src/main.bin help-boot/.ready po/.ready fonts/.ready @rm -rf message.dir @@ -63,6 +66,7 @@ ifdef DEFAULT_LANG @echo $(DEFAULT_LANG) >>message.dir/languages endif @sh -c 'cd message.dir; echo * | sed -e "s/ /\n/g" | cpio --quiet -o >../message' + @rm -r message.dir clean: @for i in $(SUBDIRS) ; do [ ! -f $$i/Makefile ] || make -C $$i clean || break ; done |