summaryrefslogtreecommitdiff
path: root/rules.make
diff options
context:
space:
mode:
authorTobias Quathamer <toddy@debian.org>2006-07-07 20:20:47 +0000
committerTobias Quathamer <toddy@debian.org>2006-07-07 20:20:47 +0000
commit11ba55d92c4a98f93a489ead5df2222f62932bca (patch)
treeb53fbbf3ba28fb1bf294b606b345cbedeb79e01b /rules.make
parent35c854cd2e811448dbcc3189a39a9fc43166708f (diff)
downloadiso-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.make3
1 files changed, 2 insertions, 1 deletions
diff --git a/rules.make b/rules.make
index b86d922a..7e85a19d 100644
--- a/rules.make
+++ b/rules.make
@@ -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: