Commit beac1940 authored by Alexandre Julliard's avatar Alexandre Julliard

wineprefixcreate and related files need to be installed when doing an

install-lib.
parent 36e845ce
......@@ -49,10 +49,10 @@ INSTALLLIBSUBDIRS = \
server
# Sub-directories to install for install-dev
INSTALLDEVSUBDIRS = include tools
INSTALLDEVSUBDIRS = include
# Sub-directories to install for both install-lib and install-dev
INSTALLBOTHSUBDIRS = dlls libs
INSTALLBOTHSUBDIRS = dlls libs tools
INSTALLSUBDIRS = $(INSTALLDEVSUBDIRS) $(INSTALLLIBSUBDIRS)
......@@ -119,7 +119,7 @@ include/__install__: include libs tools
libs/__install-lib__ libs/__install-dev__: libs
fonts/__install__ loader/__install__ server/__install__: libs tools
programs/__install__: libs tools include dlls/__install-lib__
tools/__install__: tools
tools/__install-lib__ tools/__install-dev__: tools
$(SUBDIRS:%=%/__depend__): tools include
......
......@@ -59,15 +59,18 @@ wineprefixcreate: wineprefixcreate.in
sed -e 's,@dlldir\@,$(dlldir),g' -e 's,@datadir\@,$(datadir),g' $(SRCDIR)/wineprefixcreate.in >$@ || ($(RM) $@ && false)
chmod +x wineprefixcreate
install:: wineprefixcreate
$(MKINSTALLDIRS) $(bindir) $(mandir)/man$(prog_manext) $(datadir)/wine $(datadir)/applications
$(INSTALL_SCRIPT) $(SRCDIR)/winemaker $(bindir)/winemaker
install install-lib:: wineprefixcreate
$(MKINSTALLDIRS) $(bindir) $(datadir)/wine $(datadir)/applications
$(INSTALL_SCRIPT) wineprefixcreate $(bindir)/wineprefixcreate
$(INSTALL_DATA) $(SRCDIR)/winemaker.man $(mandir)/man$(prog_manext)/winemaker.$(prog_manext)
$(INSTALL_DATA) $(SRCDIR)/wine.inf $(datadir)/wine/wine.inf
$(INSTALL_DATA) $(SRCDIR)/wine.desktop $(datadir)/applications/wine.desktop
-$(UPDATE_DESKTOP_DATABASE)
install install-dev:: $(INSTALLSUBDIRS:%=%/__install__)
$(MKINSTALLDIRS) $(bindir) $(mandir)/man$(prog_manext)
$(INSTALL_SCRIPT) $(SRCDIR)/winemaker $(bindir)/winemaker
$(INSTALL_DATA) $(SRCDIR)/winemaker.man $(mandir)/man$(prog_manext)/winemaker.$(prog_manext)
uninstall::
$(RM) $(bindir)/winemaker $(bindir)/wineprefixcreate $(mandir)/man$(prog_manext)/winemaker.$(prog_manext) \
$(datadir)/wine/wine.inf $(datadir)/applications/wine.desktop
......
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