--- configure.sh.orig	2008-04-22 00:39:50.000000000 +0100
+++ configure.sh	2008-04-22 00:41:28.000000000 +0100
@@ -166,7 +166,7 @@
 #This is the makefile for vobcopy, mainly written by rosenauer. These things 
 #below here are variable definitions. They get substituted in the (CC) and 
 #stuff places.
-CC     ?= gcc
+CC     = cc
 #PREFIX += /usr/local
 #BINDIR = \${PREFIX}/bin
 #MANDIR = \${PREFIX}/man
@@ -212,17 +212,20 @@
 #	mkdir -p \$(MANDIR)/man1
 #	cp vobcopy   \$(BINDIR)/vobcopy
 #	cp vobcopy.1 \$(MANDIR)/man1/vobcopy.1
-	install -d -m 755 \$(BINDIR)
-	install -d -m 755 \$(MANDIR)/man1
-	install -d -m 755 \$(MANDIR)/de/man1
-	install -m 755 vobcopy \$(BINDIR)/vobcopy
-	install -m 644 vobcopy.1 \$(MANDIR)/man1/vobcopy.1
-	install -m 644 vobcopy.1.de \$(MANDIR)/de/man1/vobcopy.1
+	install -d -m 755 \$(DESTDIR)\$(BINDIR)
+	install -d -m 755 \$(DESTDIR)\$(MANDIR)/man1
+	install -d -m 755 \$(DESTDIR)\$(MANDIR)/de/man1
+	install -m 755 vobcopy \$(DESTDIR)\$(BINDIR)/vobcopy
+	install -m 644 vobcopy.1 \$(DESTDIR)\$(MANDIR)/man1/vobcopy.1
+	install -m 644 vobcopy.1.de \$(DESTDIR)\$(MANDIR)/de/man1/vobcopy.1
 
 uninstall:
-	rm -f \$(BINDIR)/vobcopy
-	rm -f \$(MANDIR)/man1/vobcopy.1
-	rm -f \$(MANDIR)/de/man1/vobcopy.1	
+	rm -f \$(DESTDIR)\$(BINDIR)/vobcopy
+	rm -f \$(DESTDIR)\$(MANDIR)/man1/vobcopy.1
+	rm -f \$(DESTDIR)\$(MANDIR)/de/man1/vobcopy.1	
+
+all: vobcopy
+
 " > Makefile
 
 echo "Next thing type \"make\" and then \"make install\""
