X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=Makefile;h=cf486c96fb5ddbc333f111b6a9fc7695dee29c32;hb=8fdb6c7e5b1441c2c94459d407fa3cb4417959b9;hp=30bbd371b194133a66af8420b9acf3d2b6c87ece;hpb=650e1806e4dac7309818266d2b9ea5acdcef9602;p=vor.git diff --git a/Makefile b/Makefile index 30bbd37..cf486c9 100644 --- a/Makefile +++ b/Makefile @@ -15,12 +15,12 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -prefix = /usr +prefix = /usr/local exec_prefix = $(prefix) -datadir = $(prefix)/share/games -pkgdatadir = $(datadir)/vor -bindir = $(exec_prefix)/games +datarootdir = $(prefix)/share +pkgdatadir = $(datarootdir)/vor +bindir = $(exec_prefix)/bin CFLAGS := -Wall -O3 LDFLAGS := @@ -116,7 +116,7 @@ rminstalldirs: uninstall-data install: all mkinstalldirs install-program install-data install-program: program - $(INSTALL_PROGRAM) ./vor $(DESTDIR)$(bindir) + $(INSTALL_PROGRAM) ./vor $(DESTDIR)$(bindir)/ install-data: data mkinstalldirs $(INSTALL_DATA) ./data/*.png $(DESTDIR)$(pkgdatadir)/