makefiles: Make sure to install manpages for the install-lib and install-dev cases.

This commit is contained in:
Alexandre Julliard 2013-07-02 12:50:24 +02:00
parent ebe555d146
commit 005565d90d
7 changed files with 9 additions and 7 deletions

View File

@ -166,6 +166,8 @@ uninstall-man-pages::
install:: @WOW64_DISABLE@ $(MANPAGE:.man=.man.in install-man-pages)
uninstall:: @WOW64_DISABLE@ $(MANPAGE:.man=.man.in uninstall-man-pages)
.PHONY: install-man-pages uninstall-man-pages
# Rules for cleaning
$(EXTRASUBDIRS:%=%/__clean__): dummy

View File

@ -51,9 +51,9 @@ wine_info.plist: wine_info.plist.in
$(EXTRA_BINARIES:%=__install__%): $(EXTRA_BINARIES) $(DESTDIR)$(bindir) dummy
f=`expr $@ : '__install__\(.*\)'` && $(INSTALL_PROGRAM) $$f $(DESTDIR)$(bindir)/$$f
.PHONY: install-man-pages $(EXTRA_BINARIES:%=__install__%)
.PHONY: $(EXTRA_BINARIES:%=__install__%)
install install-lib:: wine-installed $(DESTDIR)$(bindir) $(EXTRA_BINARIES:%=__install__%)
install install-lib:: wine-installed $(DESTDIR)$(bindir) $(EXTRA_BINARIES:%=__install__%) @WOW64_DISABLE@ install-man-pages
$(INSTALL_PROGRAM) wine-installed $(DESTDIR)$(bindir)/$(MAIN_BINARY)
install-man-pages:: $(EXTRA_MANPAGES) $(INSTALLDIRS) dummy

View File

@ -31,7 +31,7 @@ all: $(PROGRAMS)
widl$(EXEEXT): $(OBJS) $(LIBWPP)
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBWPP) $(LIBPORT) $(LDFLAGS)
install install-dev:: $(PROGRAMS) $(DESTDIR)$(bindir)
install install-dev:: $(PROGRAMS) $(DESTDIR)$(bindir) install-man-pages
$(INSTALL_PROGRAM) widl$(EXEEXT) $(DESTDIR)$(bindir)/widl$(EXEEXT)
uninstall::

View File

@ -23,7 +23,7 @@ all: $(PROGRAMS)
winebuild$(EXEEXT): $(OBJS)
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBPORT) $(LDFLAGS)
install install-dev:: $(PROGRAMS) $(DESTDIR)$(bindir)
install install-dev:: $(PROGRAMS) $(DESTDIR)$(bindir) install-man-pages
$(INSTALL_PROGRAM) winebuild$(EXEEXT) $(DESTDIR)$(bindir)/winebuild$(EXEEXT)
uninstall::

View File

@ -34,7 +34,7 @@ all: $(PROGRAMS)
winedump$(EXEEXT): $(OBJS)
$(CC) $(CFLAGS) -o winedump$(EXEEXT) $(OBJS) $(LIBPORT) $(LDFLAGS)
install install-dev:: $(PROGRAMS) $(DESTDIR)$(bindir)
install install-dev:: $(PROGRAMS) $(DESTDIR)$(bindir) install-man-pages
$(INSTALL_PROGRAM) winedump$(EXEEXT) $(DESTDIR)$(bindir)/winedump$(EXEEXT)
$(INSTALL_SCRIPT) $(srcdir)/function_grep.pl $(DESTDIR)$(bindir)/function_grep.pl

View File

@ -25,7 +25,7 @@ wmc$(EXEEXT): $(OBJS)
wmc-installed: $(OBJS)
$(CC) $(CFLAGS) -o $@ $(OBJS) $(ALL_LIBS) $(LDFLAGS) $(LDRPATH_INSTALL)
install install-dev:: wmc-installed $(DESTDIR)$(bindir)
install install-dev:: wmc-installed $(DESTDIR)$(bindir) install-man-pages
$(INSTALL_PROGRAM) wmc-installed $(DESTDIR)$(bindir)/wmc$(EXEEXT)
uninstall::

View File

@ -29,7 +29,7 @@ wrc$(EXEEXT): $(OBJS) $(LIBWPP)
wrc-installed: $(OBJS) $(LIBWPP)
$(CC) $(CFLAGS) -o $@ $(OBJS) $(ALL_LIBS) $(LDFLAGS) $(LDRPATH_INSTALL)
install install-dev:: wrc-installed $(DESTDIR)$(bindir)
install install-dev:: wrc-installed $(DESTDIR)$(bindir) install-man-pages
$(INSTALL_PROGRAM) wrc-installed $(DESTDIR)$(bindir)/wrc$(EXEEXT)
uninstall::