nethogs (0.7.0-3) direct (non packaging) changes

Summary

 Makefile |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

    
download this patch

Patch contents

--- nethogs-0.7.0.orig/Makefile
+++ nethogs-0.7.0/Makefile
@@ -5,10 +5,12 @@
 #DESTDIR := /usr
 DESTDIR := /usr/local
 
-sbin  := $(DESTDIR)/sbin
-man8 := $(DESTDIR)/share/man/man8/
+sbin  := $(DESTDIR)/usr/sbin
+bin  := $(DESTDIR)/usr/bin
+man8 := $(DESTDIR)/usr/share/man/man8/
 
-all: nethogs decpcap_test
+all: nethogs
+# decpcap_test
 # nethogs_testsum
 
 CFLAGS=-g -Wall -Wextra
@@ -31,8 +33,6 @@
 
 nethogs: nethogs.cpp $(OBJS)
 	$(CXX) $(CFLAGS) nethogs.cpp $(OBJS) -o nethogs -lpcap -lm -lncurses -DVERSION=\"$(VERSION)\" -DSUBVERSION=\"$(SUBVERSION)\" -DMINORVERSION=\"$(MINORVERSION)\"
-nethogs_testsum: nethogs_testsum.cpp $(OBJS)
-	$(CXX) $(CFLAGS) -g nethogs_testsum.cpp $(OBJS) -o nethogs_testsum -lpcap -lm -lncurses -DVERSION=\"$(VERSION)\" -DSUBVERSION=\"$(SUBVERSION)\" -DMINORVERSION=\"$(MINORVERSION)\"
 
 decpcap_test: decpcap_test.cpp decpcap.o
 	$(CXX) $(CFLAGS) decpcap_test.cpp decpcap.o -o decpcap_test -lpcap -lm