Commit 005565d9 authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent ebe555d1
......@@ -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
......
......@@ -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
......
......@@ -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::
......
......@@ -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::
......
......@@ -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
......
......@@ -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::
......
......@@ -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::
......
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