tags 324382 patch
thanks

The attached patch fixes this bug.

Bastian

-- 
... bacteriological warfare ... hard to believe we were once foolish
enough to play around with that.
                -- McCoy, "The Omega Glory", stardate unknown
diff -u cogito-0.12.1+20050730/Makefile cogito-0.12.1+20050730/Makefile
--- cogito-0.12.1+20050730/Makefile
+++ cogito-0.12.1+20050730/Makefile
@@ -34,9 +34,11 @@
 
 # Should be changed to /usr/local
 prefix?=$(HOME)
+export prefix
 
 bindir?=$(prefix)/bin
 libdir?=$(prefix)/lib/cogito
+export bindir libdir
 
 CC?=gcc
 AR?=ar
diff -u cogito-0.12.1+20050730/debian/changelog 
cogito-0.12.1+20050730/debian/changelog
--- cogito-0.12.1+20050730/debian/changelog
+++ cogito-0.12.1+20050730/debian/changelog
@@ -1,3 +1,10 @@
+cogito (0.12.1+20050730-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Install tools into bin. (closes: #324382)
+
+ -- Bastian Blank <[EMAIL PROTECTED]>  Mon, 10 Oct 2005 10:37:08 +0000
+
 cogito (0.12.1+20050730-1) unstable; urgency=low
 
   * Updated to Pasky's latest (134b78a167b5f77725cd8435849de7298b6de477).
only in patch2:
unchanged:
--- cogito-0.12.1+20050730.orig/tools/Makefile
+++ cogito-0.12.1+20050730/tools/Makefile
@@ -6,8 +6,8 @@
 CFLAGS=-g $(COPTS) -Wall
 INSTALL=install
 HOME=$(shell echo $$HOME)
-prefix=$(HOME)
-bin=$(prefix)/bin
+prefix?=$(HOME)
+bindir?=$(prefix)/bin
 # dest=
 
 PROGRAMS=git-mailsplit git-mailinfo
@@ -19,8 +19,8 @@
 all: $(PROGRAMS)
 
 install: $(PROGRAMS) $(SCRIPTS)
-       $(INSTALL) -m755 -d $(dest)$(bin)
-       $(INSTALL) $(PROGRAMS) $(SCRIPTS) $(dest)$(bin)
+       $(INSTALL) -m755 -d $(DESTDIR)$(bindir)
+       $(INSTALL) $(PROGRAMS) $(SCRIPTS) $(DESTDIR)$(bindir)
 
 clean:
        rm -f $(PROGRAMS) *.o

Attachment: signature.asc
Description: Digital signature

Reply via email to