Commit f0c9e984 authored by Alexandre Julliard's avatar Alexandre Julliard

wine.inf: Add a version number to make sure the file changes between versions.

parent 4a30466e
......@@ -712,6 +712,7 @@ tools/widl/parser.tab.h
tools/widl/parser.yy.c
tools/widl/widl
tools/widl/widl.man
tools/wine.inf
tools/winebuild/winebuild
tools/winebuild/winebuild.man
tools/winedump/winedump
......
......@@ -14,6 +14,7 @@ PROGRAMS = \
makedep$(EXEEXT) \
relpath$(EXEEXT) \
sfnt2fnt$(EXEEXT) \
wine.inf \
wineprefixcreate
MANPAGES = \
......@@ -70,13 +71,16 @@ relpath$(EXEEXT): relpath.o
sfnt2fnt$(EXEEXT): sfnt2fnt.o relpath$(EXEEXT)
$(CC) $(CFLAGS) -o $@ sfnt2fnt.o $(LIBWINE) $(LIBPORT) $(LDFLAGS) $(FREETYPELIBS) $(LDRPATH_LOCAL)
wine.inf: wine.inf.in
LC_ALL=C sed -e 's,@PACKAGE_STRING\@,@PACKAGE_STRING@,g' $(SRCDIR)/wine.inf.in >$@ || ($(RM) $@ && false)
wineprefixcreate: wineprefixcreate.in relpath$(EXEEXT)
sed -e "s,@bintodlldir\@,`$(RELPATH) $(bindir) $(dlldir)`,g" -e "s,@bintodatadir\@,`$(RELPATH) $(bindir) $(datadir)/wine`,g" $(SRCDIR)/wineprefixcreate.in >$@ || ($(RM) $@ && false)
chmod +x wineprefixcreate
install install-lib:: wineprefixcreate $(INSTALLDIRS)
install install-lib:: wine.inf wineprefixcreate $(INSTALLDIRS)
$(INSTALL_SCRIPT) wineprefixcreate $(DESTDIR)$(bindir)/wineprefixcreate
$(INSTALL_DATA) $(SRCDIR)/wine.inf $(DESTDIR)$(datadir)/wine/wine.inf
$(INSTALL_DATA) wine.inf $(DESTDIR)$(datadir)/wine/wine.inf
$(INSTALL_DATA) $(SRCDIR)/wine.desktop $(DESTDIR)$(datadir)/applications/wine.desktop
$(INSTALL_DATA) wineprefixcreate.man $(DESTDIR)$(mandir)/man$(prog_manext)/wineprefixcreate.$(prog_manext)
-$(UPDATE_DESKTOP_DATABASE)
......
;; .INF script for the basic Wine configuration
;; Version: @PACKAGE_STRING@
;;
;; This should be run through setupapi:
;; rundll32 setupapi.dll,InstallHinfSection DefaultInstall 128 wine.inf
......
......@@ -79,21 +79,7 @@ then
LD_LIBRARY_PATH="$topdir/libs/wine"
fi
export LD_LIBRARY_PATH
# find the source directory
link=`readlink "$WINELOADER"`
if [ -z "$link" ]
then
topsrcdir="$topdir"
else
link=`dirname "$link"`
case "$link" in
/*) topsrcdir=`cd "$link/.." && pwd` ;;
*) topsrcdir=`cd "$topdir/$link/.." && pwd` ;;
esac
fi
dlldir="$topdir/programs"
datadir="$topsrcdir/tools"
datadir="$topdir/tools"
fi
while [ $# -gt 0 ]
......
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