aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2015-03-16 20:59:59 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2015-03-16 20:59:59 -0400
commit9b2a1257150ef97a3ee7f29fd3f9e1d87a4a948e (patch)
treeb28cd52db50aaa74bf6db6d85356dc23f7dce48d /Makefile.am
parent0fae755514be16abb9a43769a6a6f496e9bd19e7 (diff)
downloadcalfuse-9b2a1257150ef97a3ee7f29fd3f9e1d87a4a948e.tar.gz
Improve portability of data file installation
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 184fbc2..ee9ba1b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -32,7 +32,8 @@ EXTRA_DIST += contrib
install-data-local: $(DATADIRS)
mkdir -p $(DESTDIR)$(pkgdatadir) ; \
- find $(DATADIRS) -type f | xargs -I{} install -D -m 644 {} $(DESTDIR)$(pkgdatadir)/{}
+ for d in $(DATADIRS); do mkdir -p "$(DESTDIR)$(pkgdatadir)/$$d"; done ; \
+ find $(DATADIRS) -type f | xargs -I{} install -m 644 {} $(DESTDIR)$(pkgdatadir)/{}
download-data:
( cd $(srcdir) ; \