Author: Alexander Zangerl  <az@debian.org>
Subject: adjust paths for debian
--- a/Makefile
+++ b/Makefile
@@ -4,10 +4,10 @@ DESTDIR=/usr/local
 ############################################################################
 
 BINDIR=$(DESTDIR)/bin
-MANDIR=$(DESTDIR)/man/man1
-LIBDIR=$(DESTDIR)/lib/igal2
+MANDIR=$(DESTDIR)/share/man/man1
+LIBDIR=$(DESTDIR)/share/igal2
 
-OLDLIBDIR=$(DESTDIR)/lib/igal
+OLDLIBDIR=$(DESTDIR)/share/igal
 
 clean::
 	rm -rf $(LIBDIR)
@@ -24,9 +24,9 @@ old-clean::
 install:: igal2
 	install -d $(BINDIR)
 	install -m 0755 igal2 $(BINDIR)
-	ln -si $(BINDIR)/igal2 $(BINDIR)/igal
-	install -m 0755 utilities/igal2.sh $(BINDIR)
+#	ln -si $(BINDIR)/igal2 $(BINDIR)/igal
+#	install -m 0755 utilities/igal2.sh $(BINDIR)
 	install -d $(MANDIR)
 	install -m 0644 igal2.1 $(MANDIR)
 	install -d $(LIBDIR)
-	install -m 0644 README ChangeLog COPYING indextemplate2.html slidetemplate2.html tile.png igal2.css directoryline2.html $(LIBDIR)
+	install -m 0644 indextemplate2.html slidetemplate2.html tile.png igal2.css directoryline2.html $(LIBDIR)
--- a/igal2
+++ b/igal2
@@ -1,11 +1,9 @@
-: magical incantation finds Perl as long as it's in the user's path
-eval 'exec perl -wS $0 ${1+"$@"}'
-	if 0;
+#!/usr/bin/perl
 
 ############################################################################
 # Please change this accordingly if you change the DESTDIR in the tarball 
 # distribution Makefile or the --prefix of the RPM installation
-$LIBDIR = "/usr/local/lib/igal2";
+$LIBDIR = "/usr/share/igal2";
 # for example if you make DESTDIR=/usr then $LIBDIR="/usr/lib/igal2"
 ############################################################################
 #
--- a/igal2.1
+++ b/igal2.1
@@ -28,7 +28,7 @@ also checks for the existence of a
 .I "$HOME/.igal2"
 directory where users can store their own templates, overriding
 the site-wide 
-.IR "/usr/local/lib/igal2" .
+.IR "/usr/share/igal2" .
 
 .BR igal2 " needs " Perl
 to run and it also relies on a few other programs that come standard
@@ -267,23 +267,23 @@ Note: igal2 will not work recursively, i
 found directories.
 
 .SH FILES
-.I /usr/local/lib/igal2/indextemplate2.html
+.I /usr/share/igal2/indextemplate2.html
 .RS
 The default index template file.
 .RE
-.I /usr/local/lib/igal2/slidetemplate2.html
+.I /usr/share/igal2/slidetemplate2.html
 .RS
 The default file used to generate slides.
 .RE
-.I /usr/local/lib/igal2/igal2.css
+.I /usr/share/igal2/igal2.css
 .RS
 The default style sheet template.
 .RE
-.I /usr/local/lib/igal2/tile.png
+.I /usr/share/igal2/tile.png
 .RS
 The tiled image used for the "film reel" effect.
 .RE
-.I /usr/local/lib/igal2/directoryline2.html
+.I /usr/share/igal2/directoryline2.html
 .RS
 The default file used to generate directory links in index.html. If 
 this file is changed, the index.html has to be regenerated by running
@@ -300,7 +300,7 @@ also checks for the existence of a
 .I "$HOME/.igal2"
 directory where users can store their own templates, overriding
 the site-wide 
-.IR "/usr/local/lib/igal2" .
+.IR "/usr/share/igal2" .
 .SH EXAMPLES
 Run
 .B igal2
