cd46aa6cef
the function of these files exceeds what can be sanely handled in shell in posix-comaptible way. Also writing it in C extends the functionality to non-UNIX-like OS and minimal environments.
11 lines
412 B
Text
11 lines
412 B
Text
# 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
|