summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2012-10-13 14:40:41 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2012-10-13 14:40:41 -0300
commit753d2038024541ac2d10f74e6d408d6ed1a23f2a (patch)
treed9bd649845f00decd5e4fbcfd04ad8a04f147ce6 /Makefile
parent1746e31049c50fb413cceeefcf21b2bda4e2de48 (diff)
downloadarchiso32-753d2038024541ac2d10f74e6d408d6ed1a23f2a.tar.xz
[archiso] Split README file
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index da0a84e..2deb9fa 100644
--- a/Makefile
+++ b/Makefile
@@ -4,11 +4,15 @@ 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
+DOC_FILES=$(wildcard docs/*)
+
+DOC_DIR=$(DESTDIR)/usr/share/doc/archiso
+
+
all:
install: install-program install-initcpio install-examples install-doc
@@ -27,7 +31,8 @@ install-examples:
cp -a --no-preserve=ownership configs $(DESTDIR)/usr/share/archiso/
install-doc:
- install -D -m 644 README $(DESTDIR)/usr/share/doc/archiso/README
+ install -d $(DOC_DIR)
+ install -m 644 -t $(DOC_DIR) $(DOC_FILES)
dist:
git archive --format=tar --prefix=archiso-$(V)/ v$(V) | gzip -9 > archiso-$(V).tar.gz