wineinstall is a script to make Wine compilation easier. The command is only used for compiling from source or for installing Wine into the system, and is run as ./tools/wineinstall while in the Wine source directory.
The script automatically takes the user through a complete install from the source code. It performs the basic install commands, as well as prompt for installation for the root password when it make installs into the system.
One drawback is the way wineinstall handles dependencies. It will continue even if the extra dependencies aren't filled before running the script. Also, if the script encounters any dependency errors on the configure portion, it will exit without telling which are the failed dependencies. One way to make sure all the dependencies are filled is to run ./configure --verbose from within the Wine source directory and then installing the missing dependencies, with either make depend or installing the packages the user's distribution provides.
