rocky-logos/anaconda/Makefile

29 lines
870 B
Makefile
Raw Permalink Normal View History

2023-06-17 17:59:07 +00:00
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