Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-10-14 11:37:59 -0500
committerDan McGee <dan@archlinux.org>2007-10-14 11:37:59 -0500
commit075b693ea2bc2ea98b4528f8ccd2d99cf66fd647 (patch)
tree24a57df3748dea555c629b50fe21b0cf5239c796
parent9aa96d8b07637705e4d0feecdaf6fe3239a88829 (diff)
First attempt at a makefile for the archiso package
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..5637adf
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,16 @@
+all:
+
+install:
+ # install to sbin since script only usable by root
+ mkdir -p $(DESTDIR)/usr/sbin
+ install -m 755 mkarchiso $(DESTDIR)/usr/sbin
+ # testiso can be used by anyone
+ mkdir -p $(DESTDIR)/usr/bin
+ install -m 755 testiso $(DESTDIR)/usr/bin
+ # hooks/install are needed by mkinitcpio
+ mkdir -p $(DESTDIR)/lib/initcpio/{hooks,install}
+ install -m 644 hooks/{archiso,boot-cd,boot-usb} $(DESTDIR)/lib/initcpio/hooks/
+ install -m 644 install/{archiso,boot-cd,boot-usb} $(DESTDIR)/lib/initcpio/install/
+ # install default config in a sane location
+ mkdir -p $(DESTDIR)/usr/share/archiso
+ cp -R default-config $(DESTDIR)/usr/share/archiso/