From: Colin Tuckley <colin@tuckley.org>
Subject: Makefile changes to the install path for Debianisation

--- cd-circleprint-0.7.0.orig/Makefile
+++ cd-circleprint-0.7.0/Makefile
@@ -1,6 +1,6 @@
 # Edit the DIRs for your needs and run make
 
-INSTALL_DIR = /usr/local
+INSTALL_DIR = $(DESTDIR)/usr
 
 INSTALL = /usr/bin/install
 
@@ -10,14 +10,14 @@ install:
 	$(INSTALL) -d $(INSTALL_DIR)/bin/
 	cp perl/cd-label.pl $(INSTALL_DIR)/bin/cd-circleprint
 	chmod 755 $(INSTALL_DIR)/bin/cd-circleprint
-	$(INSTALL) -d /usr/share/cd-circleprint/
-	cp graphics/debian_logo.eps /usr/share/cd-circleprint/debian_logo.eps
-	$(INSTALL) -d $(INSTALL_DIR)/man/man1/
-	pod2man --section=1 $(INSTALL_DIR)/bin/cd-circleprint > $(INSTALL_DIR)/man/man1/cd-circleprint.1
+	$(INSTALL) -d $(DESTDIR)/usr/share/cd-circleprint/
+	cp graphics/debian_logo.eps $(DESTDIR)/usr/share/cd-circleprint/debian_logo.eps
+	$(INSTALL) -d $(INSTALL_DIR)/share/man/man1/
+	pod2man --section=1 $(INSTALL_DIR)/bin/cd-circleprint > $(INSTALL_DIR)/share/man/man1/cd-circleprint.1
 
 uninstall: 
 	rm -f $(INSTALL_DIR)/bin/cd-circleprint
-	rm -f $(INSTALL_DIR)/man/man1/cd-circleprint.1.gz
-	rm -f /usr/share/cd-circleprint/*.eps
+	rm -f $(INSTALL_DIR)/share/man/man1/cd-circleprint.1
+	rm -f $(DESTDIR)/usr/share/cd-circleprint/*.eps
 
 clean: uninstall
