mirror of
https://github.com/znc/znc.git
synced 2026-08-07 17:33:34 +02:00
use @prefix@ for install dest
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@54 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
+3
-6
@@ -1,7 +1,4 @@
|
||||
ifneq ($(MAKE),gmake)
|
||||
# If you got an ERROR on the previous line, then you aren't using gmake
|
||||
endif
|
||||
|
||||
prefix=@prefix@
|
||||
CXX=g++
|
||||
CXXFLAGS=@CXXFLAGS@
|
||||
INCLUDES=@INCLUDES@ -I..
|
||||
@@ -17,8 +14,8 @@ depend::
|
||||
g++ -M $(CXXFLAGS) $(SRCS) $(INCLUDES) >.depend
|
||||
|
||||
install: all
|
||||
mkdir -p $(DEST)/modules
|
||||
install -m 0711 *.so $(DEST)/modules
|
||||
mkdir -p $(prefix)/modules
|
||||
install -m 0711 *.so $(prefix)/modules
|
||||
|
||||
clean:
|
||||
rm -rf *.so *.o core core.*
|
||||
|
||||
Reference in New Issue
Block a user