diff options
author | Tobias Quathamer <toddy@debian.org> | 2006-07-07 20:20:47 +0000 |
---|---|---|
committer | Tobias Quathamer <toddy@debian.org> | 2006-07-07 20:20:47 +0000 |
commit | 11ba55d92c4a98f93a489ead5df2222f62932bca (patch) | |
tree | b53fbbf3ba28fb1bf294b606b345cbedeb79e01b /rules.make | |
parent | 35c854cd2e811448dbcc3189a39a9fc43166708f (diff) | |
download | iso-codes-11ba55d92c4a98f93a489ead5df2222f62932bca.tar.gz |
Use a more portable method of creating directories during the
installation of data files. Thanks to Julio M. Merino Vidal for the
patch. Closes: #375687
Diffstat (limited to 'rules.make')
-rw-r--r-- | rules.make | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -12,7 +12,8 @@ install-data-hook: $(mofiles) cat=`basename $$cat`; \ lang=`echo $$cat | sed 's/\.mo$$//'`; \ dir=$(DESTDIR)$(localedir)/$$lang/LC_MESSAGES; \ - $(INSTALL_DATA) -D $$cat $$dir/$(DOMAIN).mo; \ + $(mkinstalldirs) $$dir; \ + $(INSTALL_DATA) $$cat $$dir/$(DOMAIN).mo; \ done uninstall-hook: |