mirror of
https://github.com/rocky-linux/rocky-logos.git
synced 2024-12-29 12:50:55 +00:00
28 lines
870 B
Makefile
28 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
|