Add wallpapers and sources

This commit is contained in:
Jeremy Soller 2024-06-26 07:52:32 -06:00
parent 5c1ea87ccb
commit f305f8d387
No known key found for this signature in database
GPG key ID: D02FD439211AF56F
17 changed files with 90 additions and 0 deletions

23
Makefile Normal file
View file

@ -0,0 +1,23 @@
ORIGINAL=$(wildcard original/*)
prefix ?= /usr
datarootdir = $(prefix)/share
datadir = $(datarootdir)
.PHONY: all clean install uninstall
all:
clean:
rm -rf build scaled
install: all
for file in $(ORIGINAL); do \
install -D -m 0644 "$$file" "$(DESTDIR)$(datadir)/backgrounds/cosmic/$$(basename "$$file")"; \
done
uninstall:
for file in $(ORIGINAL); do \
rm -f "$(DESTDIR)$(datadir)/backgrounds/cosmic/$$(basename "$$file")"; \
done
rmdir --ignore-fail-on-non-empty "$(DESTDIR)$(datadir)/backgrounds/cosmic/"