#
# This file is part of devilspie2
# Copyright (C) 2011-2014 Andreas Rönnquist
#
# devilspie2 is free software: you can redistribute it and/or
# modify it under the terms of the GNU General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# devilspie2 is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with devilspie2.
# If not, see <http://www.gnu.org/licenses/>.
#


Installation:
-------------

Building Devilspie2 requires pkg-config, gtk, wnck and lua libraries. On a
Debian system, installing the following packages should do it:

pkg-config
libglib2.0-dev
liblua5.1-0-dev
libwnck-3-dev
libgtk-3-dev

on a system still using Gtk version 2 replace the wnck and gtk libs with:

libwnck-dev
libgtk2.0-dev


To build, you simply do a

	make

(which will build with Gtk3 libs) or

	make GTK2=on

to make the build use the Gtk2 libs.

This will in the end create the devilspie2 binary in the bin/ folder.
To build the same executable, but with debugging enabled, run

	make DEBUG=1.


To install Devilspie2 system-wide - simply run make install as superuser:

	su -c "make install"

or on systems using sudo:

	sudo make install

depending on your system setup. This will default to /usr/local, installing the
binary to /usr/local/bin - this can be changed using PREFIX variable, and need
to applied all through the build system - the PREFIX is used to make the
location of translations known to all code:

	make PREFIX=/usr
	sudo make install


