summaryrefslogtreecommitdiff
path: root/textproc/iso-codes/patches/patch-aa
blob: a7a9591685dc2110fff447c109bb506d77db5955 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-aa,v 1.1.1.1 2005/10/14 21:54:57 jmmv Exp $

--- rules.make.orig	2005-02-05 22:34:13.000000000 +0100
+++ 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: