--- Makefile.orig	Thu Aug 19 06:12:17 2004
+++ Makefile	Tue Jan 18 04:02:28 2005
@@ -1,16 +1,5 @@
-# C compiler to use
-CC=gcc
-
-# Set PREFIX to the root of where you want to install gtklife
-PREFIX=/usr/local
-
-# Installation points for the gtklife binary, data, and documentation.
-BINDIR=$(PREFIX)/games
+BINDIR=$(PREFIX)/bin
 DATADIR=$(PREFIX)/share/gtklife
-DOCDIR=$(PREFIX)/doc/gtklife
-
-# Optimization and debug flags
-CFLAGS=-O3 -mpentiumpro -Wall # -g
 
 ########## No user-serviceable parts below ##########
 
@@ -30,10 +19,11 @@
 	install -d $(DATADIR)
 	install -d $(DATADIR)/graphics
 	install -m 0644 graphics/* $(DATADIR)/graphics
-	rm -rf $(DATADIR)/patterns
 	umask 022; cp -r patterns $(DATADIR)
+ifndef NOPORTDOCS
 	install -d $(DOCDIR)
 	install -m 0644 doc/* $(DOCDIR)
+endif
 
 gtklife: $(OBJS)
 	$(CC) -o gtklife $(OBJS) $(LDFLAGS)
