diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-03-16 20:59:59 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-03-16 20:59:59 -0400 |
commit | 9b2a1257150ef97a3ee7f29fd3f9e1d87a4a948e (patch) | |
tree | b28cd52db50aaa74bf6db6d85356dc23f7dce48d /Makefile.in | |
parent | 0fae755514be16abb9a43769a6a6f496e9bd19e7 (diff) | |
download | calfuse-9b2a1257150ef97a3ee7f29fd3f9e1d87a4a948e.tar.gz |
Improve portability of data file installation
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in index d692b8c..c4e8450 100644 --- a/Makefile.in +++ b/Makefile.in @@ -843,7 +843,8 @@ uninstall-am: 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) ; \ |