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:
imaginos
2005-03-31 20:49:24 +00:00
parent 17526433ce
commit 97783315c9
2 changed files with 7 additions and 13 deletions
+3 -6
View File
@@ -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.*