mirror of
https://git.proxmox.com/git/grub2
synced 2025-07-23 11:03:33 +00:00

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.
12 lines
412 B
Plaintext
12 lines
412 B
Plaintext
# 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
|