From e686cf5dcf1c738a94829ccfd71b0d4fdb9db24d Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sun, 14 Oct 2007 11:37:59 -0500 Subject: [PATCH] First attempt at a makefile for the archiso package Signed-off-by: Dan McGee --- Makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Makefile 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/