mirror of
https://github.com/znc/znc.git
synced 2026-08-07 09:22:55 +02:00
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
This commit is contained in:
+4
-5
@@ -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); \
|
||||
|
||||
Reference in New Issue
Block a user