summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-11-20 16:54:53 +0100
committerDave Reisner <dreisner@archlinux.org>2012-11-24 00:31:06 +0100
commiteac33ad291fe89bb3e157c2ca8e0d8c152ab8f37 (patch)
tree27ede5a3bae94902b94ce32d8acf5d3a883c00ed
parent8b19be5a9fda9da678166d93a4ccc800f80614dd (diff)
downloadmkinitcpio-eac33ad291fe89bb3e157c2ca8e0d8c152ab8f37.tar.gz
mkinitcpio-eac33ad291fe89bb3e157c2ca8e0d8c152ab8f37.tar.xz
Makefile: copy directories, not individual files on install
This allow preservation of symlinks. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 756d42f..7bf70cf 100644
--- a/Makefile
+++ b/Makefile
@@ -43,9 +43,8 @@ install: all
install -m644 -t $(DESTDIR)/usr/lib/initcpio init_functions functions
install -m644 01-memdisk.rules $(DESTDIR)/usr/lib/initcpio/udev/01-memdisk.rules
- cp -at $(DESTDIR)/usr/lib/initcpio/hooks hooks/*
- cp -at $(DESTDIR)/usr/lib/initcpio/install install/*
- cp -at $(DESTDIR)/etc/mkinitcpio.d mkinitcpio.d/*
+ cp -at $(DESTDIR)/usr/lib/initcpio hooks install
+ cp -at $(DESTDIR)/etc mkinitcpio.d
install -m644 man/mkinitcpio.8 $(DESTDIR)/usr/share/man/man8/mkinitcpio.8
install -m644 man/mkinitcpio.conf.5 $(DESTDIR)/usr/share/man/man5/mkinitcpio.conf.5