make it so system properly deployed

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@61 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
imaginos
2005-04-02 22:50:47 +00:00
parent cdba2be821
commit 2814df8faa
4 changed files with 10 additions and 6 deletions
+3 -3
View File
@@ -33,6 +33,6 @@ clean:
$(CXX) $(CXXFLAGS) $(INCLUDES) -c -o $*.o $*.cpp
install: znc @MODTARGET@
mkdir -p $(prefix)
install -m 0711 znc $(prefix)
(cd modules; $(MAKE))
mkdir -p $(DEST)$(prefix)/bin
install -m 0711 znc $(DEST)$(prefix)/bin
(cd modules; $(DEST)$(MAKE))
Vendored
+2
View File
@@ -2826,6 +2826,8 @@ fi
if test -n "$ISSUN"; then
MODFLAGS="$MODFLAGS -mimpure-text"
fi
appendCXX "-D_MODDIR_=\\\"${prefix}/share/znc\\\""
fi
#
+2
View File
@@ -65,6 +65,8 @@ if test "$MODULES" = "yes"; then
if test -n "$ISSUN"; then
MODFLAGS="$MODFLAGS -mimpure-text"
fi
appendCXX "-D_MODDIR_=\\\"${prefix}/share/znc\\\""
fi
#
+3 -3
View File
@@ -14,13 +14,13 @@ depend::
g++ -M $(CXXFLAGS) $(SRCS) $(INCLUDES) >.depend
install: all create_install_dir $(INSTALL_TARGS)
install -m 0711 *.so $(prefix)/modules
install -m 0711 *.so $(prefix)/share/znc
create_install_dir:
mkdir -p $(prefix)/modules
mkdir -p $(prefix)/share/znc
install_%:
install -m 0711 $(subst install_,,$@) $(prefix)/modules
install -m 0711 $(subst install_,,$@) $(prefix)/share
clean:
rm -rf *.so *.o core core.*