Commit 15ccabc9 authored by Alexandre Julliard's avatar Alexandre Julliard

makefiles: Add common rules for installing the main man page.

parent 425dd093
# Automatically generated by make_makefiles; DO NOT EDIT!! # Automatically generated by make_makefiles; DO NOT EDIT!!
*.[oa] *.[oa]
*.fake *.fake
*.man
*.ok *.ok
*.res *.res
*.so *.so
...@@ -255,31 +256,17 @@ libs/wpp/ppy.tab.h ...@@ -255,31 +256,17 @@ libs/wpp/ppy.tab.h
loader/wine loader/wine
loader/wine-installed loader/wine-installed
loader/wine-preloader loader/wine-preloader
loader/wine.de.man
loader/wine.fr.man
loader/wine.man
loader/wine64 loader/wine64
programs/Makeprog.rules programs/Makeprog.rules
programs/msiexec/msiexec.man
programs/notepad/notepad.man
programs/regedit/regedit.man
programs/regsvr32/regsvr32.man
programs/rpcss/epm.h programs/rpcss/epm.h
programs/rpcss/epm_s.c programs/rpcss/epm_s.c
programs/rpcss/irot.h programs/rpcss/irot.h
programs/rpcss/irot_s.c programs/rpcss/irot_s.c
programs/services/svcctl.h programs/services/svcctl.h
programs/services/svcctl_s.c programs/services/svcctl_s.c
programs/wineboot/wineboot.man
programs/winecfg/winecfg.man
programs/wineconsole/wineconsole.man
programs/winedbg/dbg.tab.c programs/winedbg/dbg.tab.c
programs/winedbg/dbg.tab.h programs/winedbg/dbg.tab.h
programs/winedbg/debug.yy.c programs/winedbg/debug.yy.c
programs/winedbg/winedbg.man
programs/winefile/winefile.man
programs/winemine/winemine.man
programs/winepath/winepath.man
programs/winetest/*_test.exe programs/winetest/*_test.exe
programs/winetest/*_test.rc programs/winetest/*_test.rc
programs/winetest/build.nfo programs/winetest/build.nfo
...@@ -289,9 +276,6 @@ programs/wscript/ihost.h ...@@ -289,9 +276,6 @@ programs/wscript/ihost.h
programs/wscript/ihost.tlb programs/wscript/ihost.tlb
server/wineserver server/wineserver
server/wineserver-installed server/wineserver-installed
server/wineserver.de.man
server/wineserver.fr.man
server/wineserver.man
tools/fnt2bdf tools/fnt2bdf
tools/fnt2fon tools/fnt2fon
tools/make_ctests tools/make_ctests
...@@ -302,28 +286,19 @@ tools/widl/parser.tab.c ...@@ -302,28 +286,19 @@ tools/widl/parser.tab.c
tools/widl/parser.tab.h tools/widl/parser.tab.h
tools/widl/parser.yy.c tools/widl/parser.yy.c
tools/widl/widl tools/widl/widl
tools/widl/widl.man
tools/wine.inf tools/wine.inf
tools/wineapploader tools/wineapploader
tools/winebuild/winebuild tools/winebuild/winebuild
tools/winebuild/winebuild.man
tools/winedump/winedump tools/winedump/winedump
tools/winedump/winedump.man
tools/winegcc/winecpp tools/winegcc/winecpp
tools/winegcc/wineg++ tools/winegcc/wineg++
tools/winegcc/winegcc tools/winegcc/winegcc
tools/winegcc/winegcc.man
tools/winemaker.de.man
tools/winemaker.fr.man
tools/winemaker.man
tools/wmc/mcy.tab.c tools/wmc/mcy.tab.c
tools/wmc/mcy.tab.h tools/wmc/mcy.tab.h
tools/wmc/wmc tools/wmc/wmc
tools/wmc/wmc-installed tools/wmc/wmc-installed
tools/wmc/wmc.man
tools/wrc/parser.tab.c tools/wrc/parser.tab.c
tools/wrc/parser.tab.h tools/wrc/parser.tab.h
tools/wrc/parser.yy.c tools/wrc/parser.yy.c
tools/wrc/wrc tools/wrc/wrc
tools/wrc/wrc-installed tools/wrc/wrc-installed
tools/wrc/wrc.man
...@@ -140,6 +140,21 @@ depend: dummy ...@@ -140,6 +140,21 @@ depend: dummy
.PHONY: depend .PHONY: depend
# Rules for man pages
MANPAGES = $(MANPAGE) $(EXTRA_MANPAGES)
all: $(MANPAGES)
install-man-pages:: $(MANPAGE) $(DESTDIR)$(mandir)/man$(prog_manext)
$(INSTALL_DATA) $(MANPAGE) $(DESTDIR)$(mandir)/man$(prog_manext)/$(MANPAGE:.man=).$(prog_manext)
uninstall-man-pages::
$(RM) $(DESTDIR)$(mandir)/man$(prog_manext)/$(MANPAGE:.man=).$(prog_manext)
install:: @WOW64_DISABLE@ $(MANPAGE:%=install-man-pages)
uninstall:: @WOW64_DISABLE@ $(MANPAGE:%=uninstall-man-pages)
# Rules for cleaning # Rules for cleaning
$(EXTRASUBDIRS:%=%/__clean__): dummy $(EXTRASUBDIRS:%=%/__clean__): dummy
......
...@@ -13,8 +13,9 @@ PROGRAMS = \ ...@@ -13,8 +13,9 @@ PROGRAMS = \
wine-installed \ wine-installed \
wine-preloader wine-preloader
MANPAGES = \ MANPAGE = wine.man
wine.man \
EXTRA_MANPAGES = \
wine.de.man \ wine.de.man \
wine.fr.man wine.fr.man
...@@ -24,7 +25,7 @@ INSTALLDIRS = \ ...@@ -24,7 +25,7 @@ INSTALLDIRS = \
$(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext) \ $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext) \
$(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext) $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)
all: $(MAIN_BINARY) wine-installed $(EXTRA_BINARIES) $(MANPAGES) all: $(MAIN_BINARY) wine-installed $(EXTRA_BINARIES)
@MAKE_RULES@ @MAKE_RULES@
...@@ -48,15 +49,11 @@ $(EXTRA_BINARIES:%=__install__%): $(EXTRA_BINARIES) $(DESTDIR)$(bindir) dummy ...@@ -48,15 +49,11 @@ $(EXTRA_BINARIES:%=__install__%): $(EXTRA_BINARIES) $(DESTDIR)$(bindir) dummy
install install-lib:: wine-installed $(DESTDIR)$(bindir) $(EXTRA_BINARIES:%=__install__%) install install-lib:: wine-installed $(DESTDIR)$(bindir) $(EXTRA_BINARIES:%=__install__%)
$(INSTALL_PROGRAM) wine-installed $(DESTDIR)$(bindir)/$(MAIN_BINARY) $(INSTALL_PROGRAM) wine-installed $(DESTDIR)$(bindir)/$(MAIN_BINARY)
@WOW64_DISABLE@ install install-lib:: install-man-pages install-man-pages:: $(EXTRA_MANPAGES) $(INSTALLDIRS) dummy
install-man-pages: $(MANPAGES) $(INSTALLDIRS) dummy
$(INSTALL_DATA) wine.man $(DESTDIR)$(mandir)/man$(prog_manext)/wine.$(prog_manext)
$(INSTALL_DATA) wine.de.man $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext)/wine.$(prog_manext) $(INSTALL_DATA) wine.de.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.man $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)/wine.$(prog_manext)
uninstall:: uninstall::
-cd $(DESTDIR)$(bindir) && $(RM) $(MAIN_BINARY) $(EXTRA_BINARIES) -cd $(DESTDIR)$(bindir) && $(RM) $(MAIN_BINARY) $(EXTRA_BINARIES)
$(RM) $(DESTDIR)$(mandir)/man$(prog_manext)/wine.$(prog_manext)
$(RM) $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext)/wine.$(prog_manext) $(RM) $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext)/wine.$(prog_manext)
$(RM) $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)/wine.$(prog_manext) $(RM) $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)/wine.$(prog_manext)
...@@ -9,18 +9,8 @@ C_SRCS = \ ...@@ -9,18 +9,8 @@ C_SRCS = \
RC_SRCS = rsrc.rc RC_SRCS = rsrc.rc
MANPAGES = msiexec.man MANPAGE = msiexec.man
SVG_SRCS = msiexec.svg SVG_SRCS = msiexec.svg
@MAKE_PROG_RULES@ @MAKE_PROG_RULES@
all: $(MANPAGES)
install-man-pages:: $(MANPAGES) $(DESTDIR)$(mandir)/man$(prog_manext)
$(INSTALL_DATA) msiexec.man $(DESTDIR)$(mandir)/man$(prog_manext)/msiexec.$(prog_manext)
@WOW64_DISABLE@ install install-lib:: install-man-pages
uninstall::
$(RM) $(DESTDIR)$(mandir)/man$(prog_manext)/msiexec.$(prog_manext)
...@@ -43,18 +43,8 @@ RC_SRCS = \ ...@@ -43,18 +43,8 @@ RC_SRCS = \
Zh.rc \ Zh.rc \
rsrc.rc rsrc.rc
MANPAGES = notepad.man MANPAGE = notepad.man
SVG_SRCS = notepad.svg SVG_SRCS = notepad.svg
@MAKE_PROG_RULES@ @MAKE_PROG_RULES@
all: $(MANPAGES)
install-man-pages:: $(MANPAGES) $(DESTDIR)$(mandir)/man$(prog_manext)
$(INSTALL_DATA) notepad.man $(DESTDIR)$(mandir)/man$(prog_manext)/notepad.$(prog_manext)
@WOW64_DISABLE@ install install-lib:: install-man-pages
uninstall::
$(RM) $(DESTDIR)$(mandir)/man$(prog_manext)/notepad.$(prog_manext)
...@@ -45,18 +45,8 @@ RC_SRCS = \ ...@@ -45,18 +45,8 @@ RC_SRCS = \
Zh.rc \ Zh.rc \
rsrc.rc rsrc.rc
MANPAGES = regedit.man MANPAGE = regedit.man
SVG_SRCS = regedit.svg SVG_SRCS = regedit.svg
@MAKE_PROG_RULES@ @MAKE_PROG_RULES@
all: $(MANPAGES)
install-man-pages:: $(MANPAGES) $(DESTDIR)$(mandir)/man$(prog_manext)
$(INSTALL_DATA) regedit.man $(DESTDIR)$(mandir)/man$(prog_manext)/regedit.$(prog_manext)
@WOW64_DISABLE@ install install-lib:: install-man-pages
uninstall::
$(RM) $(DESTDIR)$(mandir)/man$(prog_manext)/regedit.$(prog_manext)
...@@ -8,16 +8,6 @@ C_SRCS = \ ...@@ -8,16 +8,6 @@ C_SRCS = \
RC_SRCS = regsvr32.rc RC_SRCS = regsvr32.rc
MANPAGES = regsvr32.man MANPAGE = regsvr32.man
@MAKE_PROG_RULES@ @MAKE_PROG_RULES@
all: $(MANPAGES)
install-man-pages:: $(MANPAGES) $(DESTDIR)$(mandir)/man$(prog_manext)
$(INSTALL_DATA) regsvr32.man $(DESTDIR)$(mandir)/man$(prog_manext)/regsvr32.$(prog_manext)
@WOW64_DISABLE@ install install-lib:: install-man-pages
uninstall::
$(RM) $(DESTDIR)$(mandir)/man$(prog_manext)/regsvr32.$(prog_manext)
...@@ -31,16 +31,6 @@ RC_SRCS = \ ...@@ -31,16 +31,6 @@ RC_SRCS = \
wineboot_Uk.rc \ wineboot_Uk.rc \
wineboot_Zh.rc wineboot_Zh.rc
MANPAGES = wineboot.man MANPAGE = wineboot.man
@MAKE_PROG_RULES@ @MAKE_PROG_RULES@
all: $(MANPAGES)
install-man-pages:: $(MANPAGES) $(DESTDIR)$(mandir)/man$(prog_manext)
$(INSTALL_DATA) wineboot.man $(DESTDIR)$(mandir)/man$(prog_manext)/wineboot.$(prog_manext)
@WOW64_DISABLE@ install install-lib:: install-man-pages
uninstall::
$(RM) $(DESTDIR)$(mandir)/man$(prog_manext)/wineboot.$(prog_manext)
...@@ -43,20 +43,10 @@ RC_SRCS = \ ...@@ -43,20 +43,10 @@ RC_SRCS = \
Zh.rc \ Zh.rc \
winecfg.rc winecfg.rc
MANPAGES = winecfg.man MANPAGE = winecfg.man
SVG_SRCS = \ SVG_SRCS = \
logo.svg \ logo.svg \
winecfg.svg winecfg.svg
@MAKE_PROG_RULES@ @MAKE_PROG_RULES@
all: $(MANPAGES)
install-man-pages:: $(MANPAGES) $(DESTDIR)$(mandir)/man$(prog_manext)
$(INSTALL_DATA) winecfg.man $(DESTDIR)$(mandir)/man$(prog_manext)/winecfg.$(prog_manext)
@WOW64_DISABLE@ install install-lib:: install-man-pages
uninstall::
$(RM) $(DESTDIR)$(mandir)/man$(prog_manext)/winecfg.$(prog_manext)
...@@ -36,16 +36,6 @@ RC_SRCS = \ ...@@ -36,16 +36,6 @@ RC_SRCS = \
wineconsole_Uk.rc \ wineconsole_Uk.rc \
wineconsole_Zh.rc wineconsole_Zh.rc
MANPAGES = wineconsole.man MANPAGE = wineconsole.man
@MAKE_PROG_RULES@ @MAKE_PROG_RULES@
all: $(MANPAGES)
install-man-pages:: $(MANPAGES) $(DESTDIR)$(mandir)/man$(prog_manext)
$(INSTALL_DATA) wineconsole.man $(DESTDIR)$(mandir)/man$(prog_manext)/wineconsole.$(prog_manext)
@WOW64_DISABLE@ install install-lib:: install-man-pages
uninstall::
$(RM) $(DESTDIR)$(mandir)/man$(prog_manext)/wineconsole.$(prog_manext)
...@@ -54,16 +54,6 @@ RC_SRCS = \ ...@@ -54,16 +54,6 @@ RC_SRCS = \
LEX_SRCS = debug.l LEX_SRCS = debug.l
BISON_SRCS = dbg.y BISON_SRCS = dbg.y
MANPAGES = winedbg.man MANPAGE = winedbg.man
@MAKE_PROG_RULES@ @MAKE_PROG_RULES@
all: $(MANPAGES)
install-man-pages:: $(MANPAGES) $(DESTDIR)$(mandir)/man$(prog_manext)
$(INSTALL_DATA) winedbg.man $(DESTDIR)$(mandir)/man$(prog_manext)/winedbg.$(prog_manext)
@WOW64_DISABLE@ install install-lib:: install-man-pages
uninstall::
$(RM) $(DESTDIR)$(mandir)/man$(prog_manext)/winedbg.$(prog_manext)
...@@ -33,18 +33,8 @@ RC_SRCS = \ ...@@ -33,18 +33,8 @@ RC_SRCS = \
Zh.rc \ Zh.rc \
rsrc.rc rsrc.rc
MANPAGES = winefile.man MANPAGE = winefile.man
SVG_SRCS = winefile.svg SVG_SRCS = winefile.svg
@MAKE_PROG_RULES@ @MAKE_PROG_RULES@
all: $(MANPAGES)
install-man-pages:: $(MANPAGES) $(DESTDIR)$(mandir)/man$(prog_manext)
$(INSTALL_DATA) winefile.man $(DESTDIR)$(mandir)/man$(prog_manext)/winefile.$(prog_manext)
@WOW64_DISABLE@ install install-lib:: install-man-pages
uninstall::
$(RM) $(DESTDIR)$(mandir)/man$(prog_manext)/winefile.$(prog_manext)
...@@ -33,18 +33,8 @@ RC_SRCS = \ ...@@ -33,18 +33,8 @@ RC_SRCS = \
Zh.rc \ Zh.rc \
rsrc.rc rsrc.rc
MANPAGES = winemine.man MANPAGE = winemine.man
SVG_SRCS = winemine.svg SVG_SRCS = winemine.svg
@MAKE_PROG_RULES@ @MAKE_PROG_RULES@
all: $(MANPAGES)
install-man-pages:: $(MANPAGES) $(DESTDIR)$(mandir)/man$(prog_manext)
$(INSTALL_DATA) winemine.man $(DESTDIR)$(mandir)/man$(prog_manext)/winemine.$(prog_manext)
@WOW64_DISABLE@ install install-lib:: install-man-pages
uninstall::
$(RM) $(DESTDIR)$(mandir)/man$(prog_manext)/winemine.$(prog_manext)
...@@ -4,16 +4,6 @@ APPMODE = -mconsole -municode ...@@ -4,16 +4,6 @@ APPMODE = -mconsole -municode
C_SRCS = winepath.c C_SRCS = winepath.c
MANPAGES = winepath.man MANPAGE = winepath.man
@MAKE_PROG_RULES@ @MAKE_PROG_RULES@
all: $(MANPAGES)
install-man-pages:: $(MANPAGES) $(DESTDIR)$(mandir)/man$(prog_manext)
$(INSTALL_DATA) winepath.man $(DESTDIR)$(mandir)/man$(prog_manext)/winepath.$(prog_manext)
@WOW64_DISABLE@ install install-lib:: install-man-pages
uninstall::
$(RM) $(DESTDIR)$(mandir)/man$(prog_manext)/winepath.$(prog_manext)
...@@ -47,7 +47,9 @@ C_SRCS = \ ...@@ -47,7 +47,9 @@ C_SRCS = \
winstation.c winstation.c
PROGRAMS = wineserver wineserver-installed PROGRAMS = wineserver wineserver-installed
MANPAGES = wineserver.man wineserver.de.man wineserver.fr.man
MANPAGE = wineserver.man
EXTRA_MANPAGES = wineserver.de.man wineserver.fr.man
INSTALLDIRS = \ INSTALLDIRS = \
$(DESTDIR)$(bindir) \ $(DESTDIR)$(bindir) \
...@@ -55,7 +57,7 @@ INSTALLDIRS = \ ...@@ -55,7 +57,7 @@ INSTALLDIRS = \
$(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext) \ $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext) \
$(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext) $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)
all: $(PROGRAMS) $(MANPAGES) all: $(PROGRAMS)
@MAKE_RULES@ @MAKE_RULES@
...@@ -65,13 +67,14 @@ wineserver: $(OBJS) ...@@ -65,13 +67,14 @@ wineserver: $(OBJS)
wineserver-installed: $(OBJS) wineserver-installed: $(OBJS)
$(CC) -o $@ $(OBJS) $(LIBWINE) $(LIBPORT) $(LDFLAGS) $(LIBS) $(LDRPATH_INSTALL) $(CC) -o $@ $(OBJS) $(LIBWINE) $(LIBPORT) $(LDFLAGS) $(LIBS) $(LDRPATH_INSTALL)
install install-lib:: wineserver-installed $(MANPAGES) $(INSTALLDIRS) 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_DATA) wineserver.man $(DESTDIR)$(mandir)/man$(prog_manext)/wineserver.$(prog_manext)
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.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.man $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)/wineserver.$(prog_manext)
uninstall:: uninstall::
$(RM) $(DESTDIR)$(bindir)/wineserver $(DESTDIR)$(mandir)/man$(prog_manext)/wineserver.$(prog_manext) $(RM) $(DESTDIR)$(bindir)/wineserver
$(RM) $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext)/wineserver.$(prog_manext) $(RM) $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext)/wineserver.$(prog_manext)
$(RM) $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)/wineserver.$(prog_manext) $(RM) $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)/wineserver.$(prog_manext)
...@@ -11,8 +11,9 @@ PROGRAMS = \ ...@@ -11,8 +11,9 @@ PROGRAMS = \
wine.inf \ wine.inf \
wineapploader wineapploader
MANPAGES = \ MANPAGE = winemaker.man
winemaker.man \
EXTRA_MANPAGES = \
winemaker.de.man \ winemaker.de.man \
winemaker.fr.man winemaker.fr.man
...@@ -36,7 +37,7 @@ INSTALLDIRS = \ ...@@ -36,7 +37,7 @@ INSTALLDIRS = \
UPDATE_DESKTOP_DATABASE = update-desktop-database UPDATE_DESKTOP_DATABASE = update-desktop-database
all: makedep$(EXEEXT) $(PROGRAMS) $(MANPAGES) all: makedep$(EXEEXT) $(PROGRAMS)
@MAKE_RULES@ @MAKE_RULES@
...@@ -70,9 +71,10 @@ install install-lib:: wine.inf $(INSTALLDIRS) ...@@ -70,9 +71,10 @@ install install-lib:: wine.inf $(INSTALLDIRS)
$(INSTALL_DATA) $(srcdir)/wine.desktop $(DESTDIR)$(datadir)/applications/wine.desktop $(INSTALL_DATA) $(srcdir)/wine.desktop $(DESTDIR)$(datadir)/applications/wine.desktop
-$(UPDATE_DESKTOP_DATABASE) -$(UPDATE_DESKTOP_DATABASE)
install install-dev:: $(INSTALLDIRS) install install-dev:: $(DESTDIR)$(bindir) install-man-pages
$(INSTALL_SCRIPT) $(srcdir)/winemaker $(DESTDIR)$(bindir)/winemaker $(INSTALL_SCRIPT) $(srcdir)/winemaker $(DESTDIR)$(bindir)/winemaker
$(INSTALL_DATA) winemaker.man $(DESTDIR)$(mandir)/man$(prog_manext)/winemaker.$(prog_manext)
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.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.man $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)/winemaker.$(prog_manext)
...@@ -81,7 +83,6 @@ uninstall:: ...@@ -81,7 +83,6 @@ uninstall::
$(DESTDIR)$(datadir)/wine/l_intl.nls \ $(DESTDIR)$(datadir)/wine/l_intl.nls \
$(DESTDIR)$(datadir)/applications/wine.desktop \ $(DESTDIR)$(datadir)/applications/wine.desktop \
$(DESTDIR)$(bindir)/winemaker \ $(DESTDIR)$(bindir)/winemaker \
$(DESTDIR)$(mandir)/man$(prog_manext)/winemaker.$(prog_manext) \
$(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext)/winemaker.$(prog_manext) \ $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext)/winemaker.$(prog_manext) \
$(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)/winemaker.$(prog_manext) $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)/winemaker.$(prog_manext)
-$(UPDATE_DESKTOP_DATABASE) -$(UPDATE_DESKTOP_DATABASE)
......
...@@ -76,6 +76,7 @@ my %modules16 = ...@@ -76,6 +76,7 @@ my %modules16 =
my @ignores = ( my @ignores = (
"*.[oa]", "*.[oa]",
"*.fake", "*.fake",
"*.man",
"*.ok", "*.ok",
"*.res", "*.res",
"*.so", "*.so",
...@@ -304,7 +305,7 @@ sub parse_makefile($) ...@@ -304,7 +305,7 @@ sub parse_makefile($)
$make{$1} = $2; $make{$1} = $2;
next; next;
} }
if (/^\s*(BISON_SRCS|LEX_SRCS|IDL_[CHIPRS]_SRCS|IDL_TLB_SRCS|IMPLIB_SRCS|C_SRCS|MC_SRCS|RC_SRCS|SVG_SRCS|MANPAGES|PROGRAMS)\s*=\s*(.*)/) if (/^\s*(BISON_SRCS|LEX_SRCS|IDL_[CHIPRS]_SRCS|IDL_TLB_SRCS|IMPLIB_SRCS|C_SRCS|MC_SRCS|RC_SRCS|SVG_SRCS|PROGRAMS)\s*=\s*(.*)/)
{ {
my @list = split(/\s+/, $2); my @list = split(/\s+/, $2);
$make{$1} = \@list; $make{$1} = \@list;
...@@ -533,10 +534,6 @@ sub update_gitignore(@) ...@@ -533,10 +534,6 @@ sub update_gitignore(@)
{ {
my %makefile = %{$makefiles{$make}}; my %makefile = %{$makefiles{$make}};
my $dir = $makefile{"=dir"}; my $dir = $makefile{"=dir"};
if (defined $makefile{"MANPAGES"})
{
push @ignores, map { $dir . $_; } @{$makefile{"MANPAGES"}};
}
if (defined $makefile{"PROGRAMS"}) if (defined $makefile{"PROGRAMS"})
{ {
push @ignores, map { s/\$\(EXEEXT\)//; $dir . $_; } @{$makefile{"PROGRAMS"}}; push @ignores, map { s/\$\(EXEEXT\)//; $dir . $_; } @{$makefile{"PROGRAMS"}};
......
DEFS = -D__WINESRC__ $(EXTRADEFS) DEFS = -D__WINESRC__ $(EXTRADEFS)
PROGRAMS = widl$(EXEEXT) PROGRAMS = widl$(EXEEXT)
MANPAGES = widl.man MANPAGE = widl.man
C_SRCS = \ C_SRCS = \
client.c \ client.c \
...@@ -23,16 +23,15 @@ BISON_SRCS = parser.y ...@@ -23,16 +23,15 @@ BISON_SRCS = parser.y
INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext) INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
all: $(PROGRAMS) $(MANPAGES) all: $(PROGRAMS)
@MAKE_RULES@ @MAKE_RULES@
widl$(EXEEXT): $(OBJS) $(LIBWPP) widl$(EXEEXT): $(OBJS) $(LIBWPP)
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBWPP) $(LIBPORT) $(LDFLAGS) $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBWPP) $(LIBPORT) $(LDFLAGS)
install install-dev:: $(PROGRAMS) $(MANPAGES) $(INSTALLDIRS) install:: $(PROGRAMS) $(DESTDIR)$(bindir)
$(INSTALL_PROGRAM) widl$(EXEEXT) $(DESTDIR)$(bindir)/widl$(EXEEXT) $(INSTALL_PROGRAM) widl$(EXEEXT) $(DESTDIR)$(bindir)/widl$(EXEEXT)
$(INSTALL_DATA) widl.man $(DESTDIR)$(mandir)/man$(prog_manext)/widl.$(prog_manext)
uninstall:: uninstall::
$(RM) $(DESTDIR)$(bindir)/widl$(EXEEXT) $(DESTDIR)$(mandir)/man$(prog_manext)/widl.$(prog_manext) $(RM) $(DESTDIR)$(bindir)/widl$(EXEEXT)
DEFS = -D__WINESRC__ $(EXTRADEFS) DEFS = -D__WINESRC__ $(EXTRADEFS)
PROGRAMS = winebuild$(EXEEXT) PROGRAMS = winebuild$(EXEEXT)
MANPAGES = winebuild.man MANPAGE = winebuild.man
C_SRCS = \ C_SRCS = \
import.c \ import.c \
...@@ -16,16 +16,15 @@ C_SRCS = \ ...@@ -16,16 +16,15 @@ C_SRCS = \
INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext) INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
all: $(PROGRAMS) $(MANPAGES) all: $(PROGRAMS)
@MAKE_RULES@ @MAKE_RULES@
winebuild$(EXEEXT): $(OBJS) winebuild$(EXEEXT): $(OBJS)
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBPORT) $(LDFLAGS) $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBPORT) $(LDFLAGS)
install install-dev:: $(PROGRAMS) $(MANPAGES) $(INSTALLDIRS) install:: $(PROGRAMS) $(DESTDIR)$(bindir)
$(INSTALL_PROGRAM) winebuild$(EXEEXT) $(DESTDIR)$(bindir)/winebuild$(EXEEXT) $(INSTALL_PROGRAM) winebuild$(EXEEXT) $(DESTDIR)$(bindir)/winebuild$(EXEEXT)
$(INSTALL_DATA) winebuild.man $(DESTDIR)$(mandir)/man$(prog_manext)/winebuild.$(prog_manext)
uninstall:: uninstall::
$(RM) $(DESTDIR)$(bindir)/winebuild$(EXEEXT) $(DESTDIR)$(mandir)/man$(prog_manext)/winebuild.$(prog_manext) $(RM) $(DESTDIR)$(bindir)/winebuild$(EXEEXT)
DEFS = -D__WINESRC__ $(EXTRADEFS) DEFS = -D__WINESRC__ $(EXTRADEFS)
PROGRAMS = winedump$(EXEEXT) PROGRAMS = winedump$(EXEEXT)
MANPAGES = winedump.man MANPAGE = winedump.man
C_SRCS = \ C_SRCS = \
debug.c \ debug.c \
...@@ -26,17 +26,16 @@ C_SRCS = \ ...@@ -26,17 +26,16 @@ C_SRCS = \
INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext) INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
all: $(PROGRAMS) $(MANPAGES) all: $(PROGRAMS)
@MAKE_RULES@ @MAKE_RULES@
winedump$(EXEEXT): $(OBJS) winedump$(EXEEXT): $(OBJS)
$(CC) $(CFLAGS) -o winedump$(EXEEXT) $(OBJS) $(LIBPORT) $(LDFLAGS) $(CC) $(CFLAGS) -o winedump$(EXEEXT) $(OBJS) $(LIBPORT) $(LDFLAGS)
install install-dev:: $(PROGRAMS) $(MANPAGES) $(INSTALLDIRS) install:: $(PROGRAMS) $(DESTDIR)$(bindir)
$(INSTALL_PROGRAM) winedump$(EXEEXT) $(DESTDIR)$(bindir)/winedump$(EXEEXT) $(INSTALL_PROGRAM) winedump$(EXEEXT) $(DESTDIR)$(bindir)/winedump$(EXEEXT)
$(INSTALL_DATA) winedump.man $(DESTDIR)$(mandir)/man$(prog_manext)/winedump.$(prog_manext)
$(INSTALL_SCRIPT) $(srcdir)/function_grep.pl $(DESTDIR)$(bindir)/function_grep.pl $(INSTALL_SCRIPT) $(srcdir)/function_grep.pl $(DESTDIR)$(bindir)/function_grep.pl
uninstall:: uninstall::
$(RM) $(DESTDIR)$(bindir)/function_grep.pl $(DESTDIR)$(bindir)/winedump$(EXEEXT) $(DESTDIR)$(mandir)/man$(prog_manext)/winedump.$(prog_manext) $(RM) $(DESTDIR)$(bindir)/function_grep.pl $(DESTDIR)$(bindir)/winedump$(EXEEXT)
...@@ -14,7 +14,7 @@ PROGRAMS = \ ...@@ -14,7 +14,7 @@ PROGRAMS = \
winegcc$(EXEEXT) \ winegcc$(EXEEXT) \
wineg++$(EXEEXT) wineg++$(EXEEXT)
MANPAGES = winegcc.man MANPAGE = winegcc.man
C_SRCS = \ C_SRCS = \
utils.c \ utils.c \
...@@ -22,7 +22,7 @@ C_SRCS = \ ...@@ -22,7 +22,7 @@ C_SRCS = \
INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext) INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
all: $(PROGRAMS) $(MANPAGES) all: $(PROGRAMS)
@MAKE_RULES@ @MAKE_RULES@
...@@ -32,15 +32,13 @@ winegcc$(EXEEXT): winegcc.o utils.o ...@@ -32,15 +32,13 @@ winegcc$(EXEEXT): winegcc.o utils.o
winecpp$(EXEEXT) wineg++$(EXEEXT): winegcc$(EXEEXT) winecpp$(EXEEXT) wineg++$(EXEEXT): winegcc$(EXEEXT)
$(RM) $@ && $(LN_S) winegcc$(EXEEXT) $@ $(RM) $@ && $(LN_S) winegcc$(EXEEXT) $@
install install-dev:: $(PROGRAMS) $(MANPAGES) $(INSTALLDIRS) install:: $(PROGRAMS) $(DESTDIR)$(bindir) install-man-pages
$(INSTALL_PROGRAM) winegcc$(EXEEXT) $(DESTDIR)$(bindir)/winegcc$(EXEEXT) $(INSTALL_PROGRAM) winegcc$(EXEEXT) $(DESTDIR)$(bindir)/winegcc$(EXEEXT)
cd $(DESTDIR)$(bindir) && $(RM) wineg++$(EXEEXT) && $(LN_S) winegcc$(EXEEXT) wineg++$(EXEEXT) cd $(DESTDIR)$(bindir) && $(RM) wineg++$(EXEEXT) && $(LN_S) winegcc$(EXEEXT) wineg++$(EXEEXT)
cd $(DESTDIR)$(bindir) && $(RM) winecpp$(EXEEXT) && $(LN_S) winegcc$(EXEEXT) winecpp$(EXEEXT) cd $(DESTDIR)$(bindir) && $(RM) winecpp$(EXEEXT) && $(LN_S) winegcc$(EXEEXT) winecpp$(EXEEXT)
$(INSTALL_DATA) winegcc.man $(DESTDIR)$(mandir)/man$(prog_manext)/winegcc.$(prog_manext)
cd $(DESTDIR)$(mandir)/man$(prog_manext) && $(RM) wineg++.$(prog_manext) && $(LN_S) winegcc.$(prog_manext) wineg++.$(prog_manext) cd $(DESTDIR)$(mandir)/man$(prog_manext) && $(RM) wineg++.$(prog_manext) && $(LN_S) winegcc.$(prog_manext) wineg++.$(prog_manext)
cd $(DESTDIR)$(mandir)/man$(prog_manext) && $(RM) winecpp.$(prog_manext) && $(LN_S) winegcc.$(prog_manext) winecpp.$(prog_manext) cd $(DESTDIR)$(mandir)/man$(prog_manext) && $(RM) winecpp.$(prog_manext) && $(LN_S) winegcc.$(prog_manext) winecpp.$(prog_manext)
uninstall:: uninstall::
$(RM) $(DESTDIR)$(bindir)/winegcc$(EXEEXT) $(DESTDIR)$(bindir)/wineg++$(EXEEXT) $(DESTDIR)$(bindir)/winecpp$(EXEEXT) \ $(RM) $(DESTDIR)$(bindir)/winegcc$(EXEEXT) $(DESTDIR)$(bindir)/wineg++$(EXEEXT) $(DESTDIR)$(bindir)/winecpp$(EXEEXT)
$(DESTDIR)$(mandir)/man$(prog_manext)/winegcc.$(prog_manext) $(DESTDIR)$(mandir)/man$(prog_manext)/wineg++.$(prog_manext) \ $(RM) $(DESTDIR)$(mandir)/man$(prog_manext)/wineg++.$(prog_manext) $(DESTDIR)$(mandir)/man$(prog_manext)/winecpp.$(prog_manext)
$(DESTDIR)$(mandir)/man$(prog_manext)/winecpp.$(prog_manext)
DEFS = -D__WINESRC__ $(EXTRADEFS) DEFS = -D__WINESRC__ $(EXTRADEFS)
PROGRAMS = wmc$(EXEEXT) wmc-installed PROGRAMS = wmc$(EXEEXT) wmc-installed
MANPAGES = wmc.man MANPAGE = wmc.man
C_SRCS = \ C_SRCS = \
lang.c \ lang.c \
...@@ -14,7 +14,7 @@ BISON_SRCS = mcy.y ...@@ -14,7 +14,7 @@ BISON_SRCS = mcy.y
INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext) INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
all: $(PROGRAMS) $(MANPAGES) all: $(PROGRAMS)
@MAKE_RULES@ @MAKE_RULES@
...@@ -24,9 +24,8 @@ wmc$(EXEEXT): $(OBJS) ...@@ -24,9 +24,8 @@ wmc$(EXEEXT): $(OBJS)
wmc-installed: $(OBJS) wmc-installed: $(OBJS)
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBWINE) $(LIBPORT) $(LDFLAGS) $(LDRPATH_INSTALL) $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBWINE) $(LIBPORT) $(LDFLAGS) $(LDRPATH_INSTALL)
install install-dev:: wmc-installed $(MANPAGES) $(INSTALLDIRS) install:: wmc-installed $(DESTDIR)$(bindir)
$(INSTALL_DATA) wmc.man $(DESTDIR)$(mandir)/man$(prog_manext)/wmc.$(prog_manext)
$(INSTALL_PROGRAM) wmc-installed $(DESTDIR)$(bindir)/wmc$(EXEEXT) $(INSTALL_PROGRAM) wmc-installed $(DESTDIR)$(bindir)/wmc$(EXEEXT)
uninstall:: uninstall::
$(RM) $(DESTDIR)$(bindir)/wmc$(EXEEXT) $(DESTDIR)$(mandir)/man$(prog_manext)/wmc.$(prog_manext) $(RM) $(DESTDIR)$(bindir)/wmc$(EXEEXT)
DEFS = -D__WINESRC__ -DINCLUDEDIR="\"$(includedir)\"" $(EXTRADEFS) DEFS = -D__WINESRC__ -DINCLUDEDIR="\"$(includedir)\"" $(EXTRADEFS)
PROGRAMS = wrc$(EXEEXT) wrc-installed PROGRAMS = wrc$(EXEEXT) wrc-installed
MANPAGES = wrc.man MANPAGE = wrc.man
C_SRCS = \ C_SRCS = \
dumpres.c \ dumpres.c \
...@@ -17,7 +17,7 @@ BISON_SRCS = parser.y ...@@ -17,7 +17,7 @@ BISON_SRCS = parser.y
INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext) INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
all: $(PROGRAMS) $(MANPAGES) all: $(PROGRAMS)
@MAKE_RULES@ @MAKE_RULES@
...@@ -27,9 +27,8 @@ wrc$(EXEEXT): $(OBJS) $(LIBWPP) ...@@ -27,9 +27,8 @@ wrc$(EXEEXT): $(OBJS) $(LIBWPP)
wrc-installed: $(OBJS) $(LIBWPP) wrc-installed: $(OBJS) $(LIBWPP)
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBWPP) $(LIBWINE) $(LIBPORT) $(LDFLAGS) $(LDRPATH_INSTALL) $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBWPP) $(LIBWINE) $(LIBPORT) $(LDFLAGS) $(LDRPATH_INSTALL)
install install-dev:: wrc-installed $(MANPAGES) $(INSTALLDIRS) install:: wrc-installed $(DESTDIR)$(bindir)
$(INSTALL_DATA) wrc.man $(DESTDIR)$(mandir)/man$(prog_manext)/wrc.$(prog_manext)
$(INSTALL_PROGRAM) wrc-installed $(DESTDIR)$(bindir)/wrc$(EXEEXT) $(INSTALL_PROGRAM) wrc-installed $(DESTDIR)$(bindir)/wrc$(EXEEXT)
uninstall:: uninstall::
$(RM) $(DESTDIR)$(bindir)/wrc$(EXEEXT) $(DESTDIR)$(mandir)/man$(prog_manext)/wrc.$(prog_manext) $(RM) $(DESTDIR)$(bindir)/wrc$(EXEEXT)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment