summaryrefslogtreecommitdiffstats
path: root/gettext-tools/po/Rules-msvc
blob: c91788b084138ef2165debb2dc0e64fdfb68df9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Special Makefile rules for generating a Makefile.msvc.

DISTFILES.extra1 = Rules-msvc Makefile.msvc.sh Makefile.msvc

dist distdir: $(srcdir)/Makefile.msvc

# Makefile.msvc needs to be redone when LINGUAS has changed. When rebuilding
# it, ensure that we use the updated value of CATALOGS.
$(srcdir)/Makefile.msvc: $(srcdir)/Makefile.msvc.sh LINGUAS
	$(MAKE) Makefile
	$(MAKE) -f Makefile Makefile.msvc-update

Makefile.msvc-update:
	$(SHELL) $(srcdir)/Makefile.msvc.sh $(DOMAIN) '$(GMOFILES)' > $(srcdir)/Makefile.msvc