summaryrefslogtreecommitdiffstats
path: root/po/Rules-windowsdir
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--po/Rules-windowsdir11
1 files changed, 11 insertions, 0 deletions
diff --git a/po/Rules-windowsdir b/po/Rules-windowsdir
new file mode 100644
index 0000000..fe47b10
--- /dev/null
+++ b/po/Rules-windowsdir
@@ -0,0 +1,11 @@
+# generate windowsdir
+
+DISTFILES.common.extra5 = Rules-windowsdir
+
+windowsdir="$(top_builddir)/$(PACKAGE)-$(VERSION)-for-windows"
+windowsdir: $(GMOFILES)
+ test -d "$(windowsdir)/locale" || mkdir "$(windowsdir)/locale"
+ for x in $(CATALOGS); do \
+ test -d "$(windowsdir)/locale/$${x%.gmo}" || mkdir "$(windowsdir)/locale/$${x%.gmo}"; \
+ cp -fp "$(srcdir)/$$x" "$(windowsdir)/locale/$${x%.gmo}/grub.mo"; \
+ done