mirror of
https://github.com/rocky-linux/rocky-logos.git
synced 2024-11-16 09:51:27 +00:00
29 lines
870 B
Makefile
29 lines
870 B
Makefile
|
ANACONDADATADIR = /usr/share/anaconda
|
||
|
ANACONDABOOTDIR = $(ANACONDADATADIR)/boot
|
||
|
|
||
|
all:
|
||
|
@echo "Nothing to do."
|
||
|
|
||
|
#splash.lss: syslinux-splash.png
|
||
|
# ./splashtolss.sh syslinux-splash.png splash.lss
|
||
|
|
||
|
install:
|
||
|
@if [ "$(DESTDIR)" = "" ]; then \
|
||
|
echo " "; \
|
||
|
echo "ERROR: A destdir is required"; \
|
||
|
exit 1; \
|
||
|
fi
|
||
|
mkdir -p $(DESTDIR)/$(ANACONDADATADIR)
|
||
|
mkdir -p $(DESTDIR)/$(ANACONDABOOTDIR)
|
||
|
mkdir -p $(DESTDIR)/$(ANACONDADATADIR)/pixmaps/rnotes
|
||
|
install -m 644 splash.lss $(DESTDIR)/$(ANACONDABOOTDIR)
|
||
|
install -m 644 syslinux-splash.png $(DESTDIR)/$(ANACONDABOOTDIR)/syslinux-splash.png
|
||
|
# install -m 755 splashtolss.sh $(DESTDIR)/$(ANACONDADATADIR)
|
||
|
for i in $(shell "ls rnotes");do \
|
||
|
install -m 644 -t $(DESTDIR)/$(ANACONDADATADIR)/pixmaps/rnotes/$$i rnotes/$$i/*; \
|
||
|
done
|
||
|
install -m 644 -t $(DESTDIR)/$(ANACONDADATADIR)/pixmaps theme/*
|
||
|
|
||
|
clean:
|
||
|
rm -f splash.lss
|