blob: 6458210edd91c3f7bc2e45463b4573ecb8c50888 (
about) (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Makefile for mkinitcpio-archlogo
VERSION=0.3.0
all:
@echo "Just run make install..."
.PHONY: install
install:
# install unit file
install -D -m0644 systemd/archlogo.service $(DESTDIR)/usr/lib/systemd/system/archlogo.service
# install install-script and hook for plain old script based initramfs
install -D -m0644 install/archlogo $(DESTDIR)/usr/lib/initcpio/install/archlogo
install -D -m0755 hook/archlogo $(DESTDIR)/usr/lib/initcpio/hooks/archlogo
# install config
install -D -m0644 etc/archlogo.conf $(DESTDIR)/etc/archlogo.conf
# install logos
install -D -m0644 share/archlogo $(DESTDIR)/usr/share/archlogo/archlogo
install -D -m0644 share/archlogo2 $(DESTDIR)/usr/share/archlogo/archlogo2
install -D -m0644 share/archlogo3 $(DESTDIR)/usr/share/archlogo/archlogo3
release:
git archive --format=tar.xz --prefix=mkinitcpio-archlogo-$(VERSION)/ $(VERSION) > mkinitcpio-archlogo-$(VERSION).tar.xz
gpg --armor --detach-sign --comment mkinitcpio-archlogo-$(VERSION).tar.xz mkinitcpio-archlogo-$(VERSION).tar.xz
git notes --ref=refs/notes/signatures/tar add -C $$(git archive --format=tar --prefix=mkinitcpio-archlogo-$(VERSION)/ $(VERSION) | gpg --armor --detach-sign --comment mkinitcpio-archlogo-$(VERSION).tar | git hash-object -w --stdin) $(VERSION)
|