index : archiso32 | |
Archlinux32 iso tools | gitolite user |
summaryrefslogtreecommitdiff |
author | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2012-08-25 15:14:51 -0300 |
---|---|---|
committer | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2012-08-25 15:14:51 -0300 |
commit | 5df61f0c9e89725b59d0e975d6e320fa0ea579ba (patch) | |
tree | c29627857c9ae5243cf27547f80edcf24e35f78d | |
parent | b629c4a4adb67f76f78bed00bcdf7ebcf36f813b (diff) |
-rw-r--r-- | Makefile | 58 | ||||
-rw-r--r-- | archiso/initcpio/hooks/archiso (renamed from archiso/hooks/archiso) | 0 | ||||
-rw-r--r-- | archiso/initcpio/hooks/archiso_loop_mnt (renamed from archiso/hooks/archiso_loop_mnt) | 0 | ||||
-rw-r--r-- | archiso/initcpio/hooks/archiso_pxe_common (renamed from archiso/hooks/archiso_pxe_common) | 0 | ||||
-rw-r--r-- | archiso/initcpio/hooks/archiso_pxe_http (renamed from archiso/hooks/archiso_pxe_http) | 0 | ||||
-rw-r--r-- | archiso/initcpio/hooks/archiso_pxe_nbd (renamed from archiso/hooks/archiso_pxe_nbd) | 0 | ||||
-rw-r--r-- | archiso/initcpio/hooks/archiso_pxe_nfs (renamed from archiso/hooks/archiso_pxe_nfs) | 0 | ||||
-rw-r--r-- | archiso/initcpio/hooks/archiso_shutdown (renamed from archiso/hooks/archiso_shutdown) | 0 | ||||
-rw-r--r-- | archiso/initcpio/install/archiso (renamed from archiso/install/archiso) | 0 | ||||
-rw-r--r-- | archiso/initcpio/install/archiso_kms (renamed from archiso/install/archiso_kms) | 0 | ||||
-rw-r--r-- | archiso/initcpio/install/archiso_loop_mnt (renamed from archiso/install/archiso_loop_mnt) | 0 | ||||
-rw-r--r-- | archiso/initcpio/install/archiso_pxe_common (renamed from archiso/install/archiso_pxe_common) | 0 | ||||
-rw-r--r-- | archiso/initcpio/install/archiso_pxe_http (renamed from archiso/install/archiso_pxe_http) | 0 | ||||
-rw-r--r-- | archiso/initcpio/install/archiso_pxe_nbd (renamed from archiso/install/archiso_pxe_nbd) | 0 | ||||
-rw-r--r-- | archiso/initcpio/install/archiso_pxe_nfs (renamed from archiso/install/archiso_pxe_nfs) | 0 | ||||
-rw-r--r-- | archiso/initcpio/install/archiso_shutdown (renamed from archiso/install/archiso_shutdown) | 0 | ||||
-rw-r--r-- | archiso/initcpio/script/archiso_shutdown (renamed from archiso/archiso_shutdown) | 0 |
@@ -1,62 +1,36 @@ V=1 +INSTALL_FILES=$(wildcard archiso/initcpio/install/*) +HOOKS_FILES=$(wildcard archiso/initcpio/hooks/*) +SCRIPT_FILES=$(wildcard archiso/initcpio/script/*) + + +INSTALL_DIR=$(DESTDIR)/usr/lib/initcpio/install +HOOKS_DIR=$(DESTDIR)/usr/lib/initcpio/hooks +SCRIPT_DIR=$(DESTDIR)/usr/lib/initcpio + all: -install: install-program install-hooks install-examples install-doc +install: install-program install-initcpio install-examples install-doc install-program: install -D -m 755 archiso/mkarchiso $(DESTDIR)/usr/sbin/mkarchiso -install-hooks: - # hooks/install are needed by mkinitcpio - install -D -m 644 archiso/hooks/archiso $(DESTDIR)/usr/lib/initcpio/hooks/archiso - install -D -m 644 archiso/install/archiso $(DESTDIR)/usr/lib/initcpio/install/archiso - install -D -m 755 archiso/archiso_shutdown $(DESTDIR)/usr/lib/initcpio/archiso_shutdown - install -D -m 644 archiso/hooks/archiso_shutdown $(DESTDIR)/usr/lib/initcpio/hooks/archiso_shutdown - install -D -m 644 archiso/install/archiso_shutdown $(DESTDIR)/usr/lib/initcpio/install/archiso_shutdown - install -D -m 644 archiso/hooks/archiso_pxe_common $(DESTDIR)/usr/lib/initcpio/hooks/archiso_pxe_common - install -D -m 644 archiso/install/archiso_pxe_common $(DESTDIR)/usr/lib/initcpio/install/archiso_pxe_common - install -D -m 644 archiso/hooks/archiso_pxe_nbd $(DESTDIR)/usr/lib/initcpio/hooks/archiso_pxe_nbd - install -D -m 644 archiso/install/archiso_pxe_nbd $(DESTDIR)/usr/lib/initcpio/install/archiso_pxe_nbd - install -D -m 644 archiso/hooks/archiso_pxe_http $(DESTDIR)/usr/lib/initcpio/hooks/archiso_pxe_http - install -D -m 644 archiso/install/archiso_pxe_http $(DESTDIR)/usr/lib/initcpio/install/archiso_pxe_http - install -D -m 644 archiso/hooks/archiso_pxe_nfs $(DESTDIR)/usr/lib/initcpio/hooks/archiso_pxe_nfs - install -D -m 644 archiso/install/archiso_pxe_nfs $(DESTDIR)/usr/lib/initcpio/install/archiso_pxe_nfs - install -D -m 644 archiso/hooks/archiso_loop_mnt $(DESTDIR)/usr/lib/initcpio/hooks/archiso_loop_mnt - install -D -m 644 archiso/install/archiso_loop_mnt $(DESTDIR)/usr/lib/initcpio/install/archiso_loop_mnt - install -D -m 644 archiso/install/archiso_kms $(DESTDIR)/usr/lib/initcpio/install/archiso_kms +install-initcpio: + install -d $(SCRIPT_DIR) $(HOOKS_DIR) $(INSTALL_DIR) + install -m 755 -t $(SCRIPT_DIR) $(SCRIPT_FILES) + install -m 644 -t $(HOOKS_DIR) $(HOOKS_FILES) + install -m 644 -t $(INSTALL_DIR) $(INSTALL_FILES) install-examples: install -d -m 755 $(DESTDIR)/usr/share/archiso/ cp -r configs $(DESTDIR)/usr/share/archiso/ install-doc: - install -d -m 755 $(DESTDIR)/usr/share/archiso/ install -D -m 644 README $(DESTDIR)/usr/share/doc/archiso/README -uninstall: - rm -f $(DESTDIR)/usr/sbin/mkarchiso - rm -f $(DESTDIR)/usr/lib/initcpio/hooks/archiso - rm -f $(DESTDIR)/usr/lib/initcpio/install/archiso - rm -f $(DESTDIR)/usr/lib/initcpio/archiso_shutdown - rm -f $(DESTDIR)/usr/lib/initcpio/hooks/archiso_shutdown - rm -f $(DESTDIR)/usr/lib/initcpio/install/archiso_shutdown - rm -f $(DESTDIR)/usr/lib/initcpio/hooks/archiso_pxe_common - rm -f $(DESTDIR)/usr/lib/initcpio/install/archiso_pxe_common - rm -f $(DESTDIR)/usr/lib/initcpio/hooks/archiso_pxe_nbd - rm -f $(DESTDIR)/usr/lib/initcpio/install/archiso_pxe_nbd - rm -f $(DESTDIR)/usr/lib/initcpio/hooks/archiso_pxe_http - rm -f $(DESTDIR)/usr/lib/initcpio/install/archiso_pxe_http - rm -f $(DESTDIR)/usr/lib/initcpio/hooks/archiso_pxe_nfs - rm -f $(DESTDIR)/usr/lib/initcpio/install/archiso_pxe_nfs - rm -f $(DESTDIR)/usr/lib/initcpio/hooks/archiso_loop_mnt - rm -f $(DESTDIR)/usr/lib/initcpio/install/archiso_loop_mnt - rm -f $(DESTDIR)/usr/lib/initcpio/install/archiso_kms - rm -rf $(DESTDIR)/usr/share/archiso/ - rm -f $(DESTDIR)/usr/share/doc/archiso/README - dist: git archive --format=tar --prefix=archiso-$(V)/ v$(V) | gzip -9 > archiso-$(V).tar.gz gpg --detach-sign --use-agent archiso-$(V).tar.gz -.PHONY: install install-program install-hooks install-examples install-doc uninstall dist +.PHONY: install install-program install-initcpio install-examples install-doc dist diff --git a/archiso/hooks/archiso b/archiso/initcpio/hooks/archiso index 9445498..9445498 100644 --- a/archiso/hooks/archiso +++ b/archiso/initcpio/hooks/archiso diff --git a/archiso/hooks/archiso_loop_mnt b/archiso/initcpio/hooks/archiso_loop_mnt index a02cfac..a02cfac 100644 --- a/archiso/hooks/archiso_loop_mnt +++ b/archiso/initcpio/hooks/archiso_loop_mnt diff --git a/archiso/hooks/archiso_pxe_common b/archiso/initcpio/hooks/archiso_pxe_common index d8ac709..d8ac709 100644 --- a/archiso/hooks/archiso_pxe_common +++ b/archiso/initcpio/hooks/archiso_pxe_common diff --git a/archiso/hooks/archiso_pxe_http b/archiso/initcpio/hooks/archiso_pxe_http index 32e8ab0..32e8ab0 100644 --- a/archiso/hooks/archiso_pxe_http +++ b/archiso/initcpio/hooks/archiso_pxe_http diff --git a/archiso/hooks/archiso_pxe_nbd b/archiso/initcpio/hooks/archiso_pxe_nbd index a9f84d5..a9f84d5 100644 --- a/archiso/hooks/archiso_pxe_nbd +++ b/archiso/initcpio/hooks/archiso_pxe_nbd diff --git a/archiso/hooks/archiso_pxe_nfs b/archiso/initcpio/hooks/archiso_pxe_nfs index ef41c01..ef41c01 100644 --- a/archiso/hooks/archiso_pxe_nfs +++ b/archiso/initcpio/hooks/archiso_pxe_nfs diff --git a/archiso/hooks/archiso_shutdown b/archiso/initcpio/hooks/archiso_shutdown index e50dedb..e50dedb 100644 --- a/archiso/hooks/archiso_shutdown +++ b/archiso/initcpio/hooks/archiso_shutdown diff --git a/archiso/install/archiso b/archiso/initcpio/install/archiso index 8893667..8893667 100644 --- a/archiso/install/archiso +++ b/archiso/initcpio/install/archiso diff --git a/archiso/install/archiso_kms b/archiso/initcpio/install/archiso_kms index 3ff31f3..3ff31f3 100644 --- a/archiso/install/archiso_kms +++ b/archiso/initcpio/install/archiso_kms diff --git a/archiso/install/archiso_loop_mnt b/archiso/initcpio/install/archiso_loop_mnt index 59f1d94..59f1d94 100644 --- a/archiso/install/archiso_loop_mnt +++ b/archiso/initcpio/install/archiso_loop_mnt diff --git a/archiso/install/archiso_pxe_common b/archiso/initcpio/install/archiso_pxe_common index eec9a7e..eec9a7e 100644 --- a/archiso/install/archiso_pxe_common +++ b/archiso/initcpio/install/archiso_pxe_common diff --git a/archiso/install/archiso_pxe_http b/archiso/initcpio/install/archiso_pxe_http index 4e02f98..4e02f98 100644 --- a/archiso/install/archiso_pxe_http +++ b/archiso/initcpio/install/archiso_pxe_http diff --git a/archiso/install/archiso_pxe_nbd b/archiso/initcpio/install/archiso_pxe_nbd index 47d98ce..47d98ce 100644 --- a/archiso/install/archiso_pxe_nbd +++ b/archiso/initcpio/install/archiso_pxe_nbd diff --git a/archiso/install/archiso_pxe_nfs b/archiso/initcpio/install/archiso_pxe_nfs index f8226e5..f8226e5 100644 --- a/archiso/install/archiso_pxe_nfs +++ b/archiso/initcpio/install/archiso_pxe_nfs diff --git a/archiso/install/archiso_shutdown b/archiso/initcpio/install/archiso_shutdown index 5ae976a..5ae976a 100644 --- a/archiso/install/archiso_shutdown +++ b/archiso/initcpio/install/archiso_shutdown diff --git a/archiso/archiso_shutdown b/archiso/initcpio/script/archiso_shutdown index 41b3945..41b3945 100644 --- a/archiso/archiso_shutdown +++ b/archiso/initcpio/script/archiso_shutdown |