diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-11-20 16:54:53 +0100 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2012-11-24 00:31:06 +0100 |
commit | eac33ad291fe89bb3e157c2ca8e0d8c152ab8f37 (patch) | |
tree | 27ede5a3bae94902b94ce32d8acf5d3a883c00ed | |
parent | 8b19be5a9fda9da678166d93a4ccc800f80614dd (diff) | |
download | mkinitcpio-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-- | Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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 |