53 lines
2.0 KiB
Diff
53 lines
2.0 KiB
Diff
diff -Nuar gfxboot-4.5.7.orig/Makefile gfxboot-4.5.7/Makefile
|
|
--- gfxboot-4.5.7.orig/Makefile 2014-10-14 14:37:02.000000000 +0300
|
|
+++ gfxboot-4.5.7/Makefile 2015-08-05 15:02:12.676842244 +0300
|
|
@@ -1,16 +1,7 @@
|
|
CC = gcc
|
|
CFLAGS = -g -Wall -Wno-pointer-sign -O2 -fomit-frame-pointer
|
|
|
|
-GIT2LOG := $(shell if [ -x ./git2log ] ; then echo ./git2log --update ; else echo true ; fi)
|
|
-GITDEPS := $(shell [ -d .git ] && echo .git/HEAD .git/refs/heads .git/refs/tags)
|
|
-VERSION := $(shell $(GIT2LOG) --version VERSION ; cat VERSION)
|
|
-BRANCH := $(shell git branch | perl -ne 'print $$_ if s/^\*\s*//')
|
|
-PREFIX := gfxboot-$(VERSION)
|
|
-
|
|
-# THEMES = $(wildcard themes/*)
|
|
-THEMES = themes/upstream themes/openSUSE themes/SLES themes/SLED themes/KDE
|
|
-
|
|
-.PHONY: all clean distclean doc install installsrc themes
|
|
+.PHONY: all clean distclean doc install installsrc
|
|
|
|
all: changelog bin2c gfxboot-compile bincode gfxboot-font addblack
|
|
|
|
@@ -54,20 +45,10 @@
|
|
install -m 755 gfxboot~ $(DESTDIR)/usr/sbin/gfxboot
|
|
install -m 755 gfxtest $(DESTDIR)/usr/sbin
|
|
install -m 755 gfxboot-compile gfxboot-font $(DESTDIR)/usr/sbin
|
|
- @for i in $(THEMES) ; do \
|
|
- install -d -m 755 $(DESTDIR)/etc/bootsplash/$$i/{bootloader,cdrom} ; \
|
|
- cp $$i/bootlogo $(DESTDIR)/etc/bootsplash/$$i/cdrom ; \
|
|
- bin/unpack_bootlogo $(DESTDIR)/etc/bootsplash/$$i/cdrom ; \
|
|
- install -m 644 $$i/{message,po/*.tr,help-boot/*.hlp} $(DESTDIR)/etc/bootsplash/$$i/bootloader ; \
|
|
- bin/2hl --link --quiet $(DESTDIR)/etc/bootsplash/$$i/* ; \
|
|
- done
|
|
|
|
installsrc:
|
|
install -d -m 755 $(DESTDIR)/usr/share/gfxboot/themes
|
|
- @for i in $(THEMES) ; do \
|
|
- cp -a $$i $(DESTDIR)/usr/share/gfxboot/themes ; \
|
|
- done
|
|
- cp -a themes/example* $(DESTDIR)/usr/share/gfxboot/themes
|
|
+
|
|
cp -a bin test $(DESTDIR)/usr/share/gfxboot
|
|
|
|
archive: changelog
|
|
@@ -87,8 +68,6 @@
|
|
distclean: clean
|
|
@for i in themes/example* ; do make -C $$i clean || break ; done
|
|
|
|
-themes:
|
|
- @for i in $(THEMES) ; do make -C $$i $(MAKECMDGOALS) || break ; done
|
|
|
|
doc:
|
|
make -C doc $(MAKECMDGOALS)
|