makefiles: Rename translated manpages according to their destination directory.

This commit is contained in:
Alexandre Julliard 2013-11-18 11:33:34 +01:00
parent a6fd273a90
commit a343edf44e
10 changed files with 13 additions and 13 deletions

View File

@ -17,9 +17,9 @@ PROGRAMS = \
MANPAGE = wine.man MANPAGE = wine.man
EXTRA_MANPAGES = \ EXTRA_MANPAGES = \
wine.de.man \ wine.de.UTF-8.man \
wine.fr.man \ wine.fr.UTF-8.man \
wine.pl.man wine.pl.UTF-8.man
INSTALLDIRS = \ INSTALLDIRS = \
$(DESTDIR)$(bindir) \ $(DESTDIR)$(bindir) \
@ -38,9 +38,9 @@ install install-lib::
clean:: clean::
install-man-pages:: $(EXTRA_MANPAGES) $(INSTALLDIRS) dummy install-man-pages:: $(EXTRA_MANPAGES) $(INSTALLDIRS) dummy
$(INSTALL_DATA) wine.de.man $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext)/wine.$(prog_manext) $(INSTALL_DATA) wine.de.UTF-8.man $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext)/wine.$(prog_manext)
$(INSTALL_DATA) wine.fr.man $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)/wine.$(prog_manext) $(INSTALL_DATA) wine.fr.UTF-8.man $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)/wine.$(prog_manext)
$(INSTALL_DATA) wine.pl.man $(DESTDIR)$(mandir)/pl.UTF-8/man$(prog_manext)/wine.$(prog_manext) $(INSTALL_DATA) wine.pl.UTF-8.man $(DESTDIR)$(mandir)/pl.UTF-8/man$(prog_manext)/wine.$(prog_manext)
uninstall:: uninstall::
$(RM) $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext)/wine.$(prog_manext) $(RM) $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext)/wine.$(prog_manext)

View File

@ -48,7 +48,7 @@ C_SRCS = \
PROGRAMS = wineserver wineserver-installed PROGRAMS = wineserver wineserver-installed
MANPAGE = wineserver.man MANPAGE = wineserver.man
EXTRA_MANPAGES = wineserver.de.man wineserver.fr.man EXTRA_MANPAGES = wineserver.de.UTF-8.man wineserver.fr.UTF-8.man
INSTALLDIRS = \ INSTALLDIRS = \
$(DESTDIR)$(bindir) \ $(DESTDIR)$(bindir) \
@ -70,8 +70,8 @@ install install-lib:: wineserver-installed $(DESTDIR)$(bindir) install-man-pages
$(INSTALL_PROGRAM) wineserver-installed $(DESTDIR)$(bindir)/wineserver $(INSTALL_PROGRAM) wineserver-installed $(DESTDIR)$(bindir)/wineserver
install-man-pages:: $(EXTRA_MANPAGES) $(INSTALLDIRS) install-man-pages:: $(EXTRA_MANPAGES) $(INSTALLDIRS)
$(INSTALL_DATA) wineserver.de.man $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext)/wineserver.$(prog_manext) $(INSTALL_DATA) wineserver.de.UTF-8.man $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext)/wineserver.$(prog_manext)
$(INSTALL_DATA) wineserver.fr.man $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)/wineserver.$(prog_manext) $(INSTALL_DATA) wineserver.fr.UTF-8.man $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)/wineserver.$(prog_manext)
uninstall:: uninstall::
$(RM) $(DESTDIR)$(bindir)/wineserver $(RM) $(DESTDIR)$(bindir)/wineserver

View File

@ -11,8 +11,8 @@ PROGRAMS = \
MANPAGE = winemaker.man MANPAGE = winemaker.man
EXTRA_MANPAGES = \ EXTRA_MANPAGES = \
winemaker.de.man \ winemaker.de.UTF-8.man \
winemaker.fr.man winemaker.fr.UTF-8.man
C_SRCS = \ C_SRCS = \
fnt2fon.c \ fnt2fon.c \
@ -57,8 +57,8 @@ install install-dev:: $(DESTDIR)$(bindir) install-man-pages
$(INSTALL_SCRIPT) $(srcdir)/winemaker $(DESTDIR)$(bindir)/winemaker $(INSTALL_SCRIPT) $(srcdir)/winemaker $(DESTDIR)$(bindir)/winemaker
install-man-pages:: $(EXTRA_MANPAGES) $(INSTALLDIRS) install-man-pages:: $(EXTRA_MANPAGES) $(INSTALLDIRS)
$(INSTALL_DATA) winemaker.de.man $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext)/winemaker.$(prog_manext) $(INSTALL_DATA) winemaker.de.UTF-8.man $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext)/winemaker.$(prog_manext)
$(INSTALL_DATA) winemaker.fr.man $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)/winemaker.$(prog_manext) $(INSTALL_DATA) winemaker.fr.UTF-8.man $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)/winemaker.$(prog_manext)
uninstall:: uninstall::
$(RM) $(DESTDIR)$(datadir)/applications/wine.desktop \ $(RM) $(DESTDIR)$(datadir)/applications/wine.desktop \