Install KissCount into /usr/local instead of /usr

This commit is contained in:
Grégory Soutadé 2011-08-09 17:55:46 +02:00
parent 90a6659a84
commit c4a88fb459
3 changed files with 17 additions and 8 deletions

View File

@ -1,3 +1,10 @@
v0.3 (06/08/2011)
** User **
Install KissCount into /usr/local instead of /usr
** Bugs **
Fix a bug in language settings
v0.2 (04/07/2011) v0.2 (04/07/2011)
** User ** ** User **

View File

@ -1,7 +1,8 @@
LIB_DIR=$(DESTDIR)"/usr/lib/kisscount/" ROOT_DIR="/usr/local"
SHARE_DIR=$(DESTDIR)"/usr/share/kisscount/" LIB_DIR=$(DESTDIR)$(ROOT_DIR)"/lib/kisscount/"
DOC_DIR=$(DESTDIR)"/usr/share/doc/kisscount/" SHARE_DIR=$(DESTDIR)$(ROOT_DIR)"/share/kisscount/"
BIN_DIR=$(DESTDIR)"/usr/bin/" DOC_DIR=$(DESTDIR)$(ROOT_DIR)"/share/doc/kisscount/"
BIN_DIR=$(DESTDIR)$(ROOT_DIR)"/bin/"
CXXFLAGS+=`wx-config --cxxflags` -Wall -Isrc -ggdb CXXFLAGS+=`wx-config --cxxflags` -Wall -Isrc -ggdb
CXXFLAGS+=-I./lib/wxsqlite3-1.9.9/include CXXFLAGS+=-I./lib/wxsqlite3-1.9.9/include
@ -59,7 +60,7 @@ endif
install: install:
mkdir -p $(LIB_DIR) $(BIN_DIR) $(SHARE_DIR) $(DOC_DIR) mkdir -p $(LIB_DIR) $(BIN_DIR) $(SHARE_DIR) $(DOC_DIR)
cp kc $(BIN_DIR) cp kc $(BIN_DIR)
cp -rf lib/*.so* $(LIB_DIR) find lib -name '*.so*' -exec cp -rf \{\} $(LIB_DIR) \;
cp -rf ressources/* $(SHARE_DIR) cp -rf ressources/* $(SHARE_DIR)
cp -rf README* ChangeLog CONTRIBUTORS COPYING TODO $(DOC_DIR) cp -rf README* ChangeLog CONTRIBUTORS COPYING TODO $(DOC_DIR)

View File

@ -19,9 +19,10 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with KissCount. If not, see <http://www.gnu.org/licenses/>. # along with KissCount. If not, see <http://www.gnu.org/licenses/>.
SHARE_DIR=/usr/share/kisscount ROOT_DIR=/usr/local
LIB_DIR=/usr/lib/kisscount SHARE_DIR=$ROOT_DIR/share/kisscount
BIN_DIR=/usr/bin LIB_DIR=$ROOT_DIR/lib/kisscount
BIN_DIR=$ROOT_DIR/bin
case "$1" in case "$1" in
--install|-i) --install|-i)