graphthing (1.3.2-3.1) Makefile_DESTDIR_addition

Summary

 GNUmakefile.in     |    4 ++--
 src/GNUmakefile.in |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

    
download this patch

Patch contents

--- graphthing-1.3.2.orig/src/GNUmakefile.in	2007-08-28 05:42:58.000000000 +0000
+++ graphthing-1.3.2/src/GNUmakefile.in	2007-08-28 05:43:50.000000000 +0000
@@ -37,8 +37,8 @@
 all:		$(PROGNAME) $(addsuffix @EXEEXT@,@EXTRA_PROGS@)
 
 install:
-	@INSTALL@ -d @prefix@/bin/
-	@INSTALL@ -s -m 755 $(PROGNAME) @prefix@/bin/
+	@INSTALL@ -d $(DESTDIR)@prefix@/bin/
+	@INSTALL@ -s -m 755 $(PROGNAME) $(DESTDIR)@prefix@/bin/
 
 clean:
 	rm -f $(ALL_OBJS) unit_test.o chrom.o
--- graphthing-1.3.2.orig/GNUmakefile.in	2007-08-28 05:42:58.000000000 +0000
+++ graphthing-1.3.2/GNUmakefile.in	2007-08-28 05:43:38.000000000 +0000
@@ -33,8 +33,8 @@
 	for subdir in $$dlist ; do \
 		(cd $$subdir && $(MAKE) install) ; \
 	done
-	@INSTALL@ -d @mandir@/man1/
-	@INSTALL@ -c -m 644 graphthing.1 @mandir@/man1/
+	@INSTALL@ -d $(DESTDIR)@mandir@/man1/
+	@INSTALL@ -c -m 644 graphthing.1 $(DESTDIR)@mandir@/man1/
 	@echo "---------------------------------------------------"
 	@echo "  GraphThing is now installed. It can be executed"
 	@echo "  by running:"