[debian-edu-commits] debian-edu/ 29/437: Install grub splash image into the location used by package grub-splashimages, and symlink from the location detected by update-grub.
Mike Gabriel
sunweaver at debian.org
Sun Mar 2 23:49:21 UTC 2014
This is an automated email from the git hooks/post-receive script.
sunweaver pushed a commit to branch master
in repository debian-edu-artwork.
commit 9c1cef60d1f594060a976a337fe036ef66d85424
Author: Petter Reinholdtsen <pere at hungry.com>
Date: Mon Aug 7 07:17:04 2006 +0000
Install grub splash image into the location used by package grub-splashimages, and symlink from the location detected by update-grub.
---
art/splash/Makefile.am | 8 ++++++--
art/splash/Makefile.in | 7 +++++--
2 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/art/splash/Makefile.am b/art/splash/Makefile.am
index b32310b..be3a811 100644
--- a/art/splash/Makefile.am
+++ b/art/splash/Makefile.am
@@ -3,13 +3,17 @@ SPLASH = debian-edu-splash.png
splashdir = $(datadir)/pixmaps/splash
splash_DATA = $(SPLASH)
+grubdir = /boot/grub
+grubsplashdir = $(grubdir)/splashimages
+
install-data-local: debian-edu-splash.xpm.gz
$(mkinstalldirs) $(DESTDIR)$(splashdir)
# Make it available as a grub splash image, detected and used by update-grub
- $(mkinstalldirs) $(DESTDIR)/boot/grub
+ $(mkinstalldirs) $(DESTDIR)$(grubsplashdir)
$(INSTALL_DATA) debian-edu-splash.xpm.gz \
- $(DESTDIR)/boot/grub/splash.xpm.gz
+ $(DESTDIR)$(grubsplashdir)/debian-edu-splash.xpm.gz
+ ln -s $(grubsplashdir)/splash.xpm.gz $(grubdir)/splash.xpm.gz
debian-edu-splash.xpm.gz: debian-edu-splash.png
convert debian-edu-splash.png debian-edu-splash.xpm
diff --git a/art/splash/Makefile.in b/art/splash/Makefile.in
index 40079ba..bee1895 100644
--- a/art/splash/Makefile.in
+++ b/art/splash/Makefile.in
@@ -138,6 +138,8 @@ target_alias = @target_alias@
SPLASH = debian-edu-splash.png
splashdir = $(datadir)/pixmaps/splash
splash_DATA = $(SPLASH)
+grubdir = /boot/grub
+grubsplashdir = $(grubdir)/splashimages
EXTRA_DIST = $(splash_DATA)
CLEANFILES = debian-edu-splash.xpm.gz
all: all-am
@@ -317,9 +319,10 @@ install-data-local: debian-edu-splash.xpm.gz
$(mkinstalldirs) $(DESTDIR)$(splashdir)
# Make it available as a grub splash image, detected and used by update-grub
- $(mkinstalldirs) $(DESTDIR)/boot/grub
+ $(mkinstalldirs) $(DESTDIR)$(grubsplashdir)
$(INSTALL_DATA) debian-edu-splash.xpm.gz \
- $(DESTDIR)/boot/grub/splash.xpm.gz
+ $(DESTDIR)$(grubsplashdir)/debian-edu-splash.xpm.gz
+ ln -s $(grubsplashdir)/splash.xpm.gz $(grubdir)/splash.xpm.gz
debian-edu-splash.xpm.gz: debian-edu-splash.png
convert debian-edu-splash.png debian-edu-splash.xpm
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/debian-edu-artwork.git
More information about the debian-edu-commits
mailing list