summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2016-09-07 22:19:01 +0200
committerGravatar Christian Hesse <mail@eworm.de>2016-09-07 22:19:01 +0200
commit8b3116248646499f8e401483ea481cde04378c71 (patch)
tree178a3e6367edd38f076dea30b005c9e8d61303fc /Makefile
parent9b61a3bc43c88cff089e7b0f16713a84c857f46b (diff)
downloadmkinitcpio-archlogo-8b3116248646499f8e401483ea481cde04378c71.tar.gz
mkinitcpio-archlogo-8b3116248646499f8e401483ea481cde04378c71.tar.zst
add Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..d06d136
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,22 @@
+# Makefile for mkinitcpio-archlogo
+
+all:
+ @echo "Just run make install..."
+
+install:
+ # install install script and unit file
+ install -D -m0644 install/archlogo $(DESTDIR)/usr/lib/initcpio/install/archlogo
+ install -D -m0644 systemd/archlogo.service $(DESTDIR)/usr/lib/systemd/system/archlogo.service
+
+ # install hook for plain old script based initramfs
+ 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
+
+.PHONY: install