diff options
author | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2012-09-13 21:54:55 -0300 |
---|---|---|
committer | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2012-09-13 21:54:55 -0300 |
commit | b11fa2ad388eaaa3776a3d3c99fb30d6ddb111b0 (patch) | |
tree | c5386f2d16ed5ff4170f4915fbf07c6f478f8599 /Makefile | |
parent | 64a660adb9a1ad658874759c186e0e9cbf138e63 (diff) | |
parent | 0d04c89e6bfee46477ef08030654a0b421ba86ae (diff) |
Merge branch 'master' of https://projects.archlinux.org/git/archiso
Conflicts:
README
archiso/mkarchiso
configs/baseline/build.sh
configs/baseline/syslinux/syslinux.cfg
configs/releng/build.sh
configs/releng/packages.i686
configs/releng/packages.x86_64
configs/releng/root-image/etc/arch-release
configs/releng/root-image/etc/hosts
configs/releng/root-image/etc/issue
configs/releng/root-image/etc/motd
configs/releng/root-image/etc/rc.conf
configs/releng/root-image/libre/report-issues
configs/releng/root-image/libre/setup
configs/releng/syslinux.dual/archiso_head.cfg
configs/releng/syslinux.dual/archiso_sys32.cfg
configs/releng/syslinux.dual/archiso_sys64.cfg
configs/releng/syslinux.dual/archiso_tail.cfg
configs/releng/syslinux/syslinux.cfg
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..1abeb4a --- /dev/null +++ b/Makefile @@ -0,0 +1,36 @@ +V=2 + +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-initcpio install-examples install-doc + +install-program: + install -D -m 755 archiso/mkarchiso $(DESTDIR)/usr/sbin/mkarchiso + +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 -a configs $(DESTDIR)/usr/share/archiso/ + +install-doc: + install -D -m 644 README $(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-initcpio install-examples install-doc dist |