From c0a91af22e697030b1c137e2dc81342e6009373d Mon Sep 17 00:00:00 2001 From: psychon Date: Fri, 25 Apr 2008 16:27:00 +0000 Subject: [PATCH] Makefile.in: Use $(bindir) instead of $(prefix)/bin Also this removes a double 'prefix :=' line. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1031 726aef4b-f618-498e-8847-2d620e286838 --- Makefile.in | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Makefile.in b/Makefile.in index 91b15f6e..cb43e938 100644 --- a/Makefile.in +++ b/Makefile.in @@ -12,7 +12,6 @@ CXXFLAGS := @CXXFLAGS@ LDFLAGS := @LDFLAGS@ INCLUDES := @INCLUDES@ LIBS := @LIBS@ -prefix := @prefix@ SRCS := String.cpp Csocket.cpp main.cpp znc.cpp User.cpp IRCSock.cpp Client.cpp DCCBounce.cpp \ DCCSock.cpp Chan.cpp Nick.cpp Server.cpp Modules.cpp MD5.cpp Buffer.cpp Utils.cpp \ @@ -53,11 +52,11 @@ distclean: clean $(CXX) $(CXXFLAGS) $(INCLUDES) -c -o $@ $< -MMD -MF .depend/$<.dep install: znc @MODTARGET@ - mkdir -p $(DESTDIR)$(prefix)/bin + mkdir -p $(DESTDIR)$(bindir) mkdir -p $(DESTDIR)$(prefix)/include/znc - install -m 0755 znc $(DESTDIR)$(prefix)/bin - install -m 0755 znc-config $(DESTDIR)$(prefix)/bin - install -m 0755 znc-buildmod $(DESTDIR)$(prefix)/bin + install -m 0755 znc $(DESTDIR)$(bindir) + install -m 0755 znc-config $(DESTDIR)$(bindir) + install -m 0755 znc-buildmod $(DESTDIR)$(bindir) install -m 0644 *.h $(DESTDIR)$(prefix)/include/znc @if test -n "@MODTARGET@"; then \ $(MAKE) -C modules install DESTDIR=$(DESTDIR); \