Rename ressources into resources
This commit is contained in:
12
Makefile
12
Makefile
@@ -11,11 +11,11 @@ QT_PACKAGES="QtCore QtGui QtSql QtXml"
|
||||
CXXFLAGS+=`pkg-config --cflags $(QT_PACKAGES)`
|
||||
CXXFLAGS+=-Wall -Isrc -Isrc/win32
|
||||
ifdef WIN32
|
||||
CXXFLAGS+=-DRESSOURCES_ROOT="\"./ressources/\""
|
||||
CXXFLAGS+=-DRESOURCES_ROOT="\"./resources/\"" -static
|
||||
else
|
||||
CXXFLAGS+=-DRESSOURCES_ROOT="\"$(SHARE_DIR)\"" -ggdb -fPIC
|
||||
CXXFLAGS+=-DRESOURCES_ROOT="\"$(SHARE_DIR)\"" -ggdb -fPIC
|
||||
# For developpers
|
||||
#CXXFLAGS+=-DRESSOURCES_ROOT="\"./ressources/\""
|
||||
#CXXFLAGS+=-DRESOURCES_ROOT="\"./resources/\""
|
||||
endif
|
||||
|
||||
SOURCES=$(shell find src -name '*.cpp' -type f | tr '\n' ' ')
|
||||
@@ -38,7 +38,7 @@ ifndef WIN32
|
||||
LDFLAGS+=`pkg-config --libs $(QT_PACKAGES)`
|
||||
LDFLAGS+=-lofx
|
||||
else
|
||||
LDFLAGS+=lib/QtCore4.dll lib/QtGui4.dll lib/QtSql4.dll lib/QtXml4.dll
|
||||
LDFLAGS+=lib_mingw_32/QtCore4.dll lib_mingw_32/QtGui4.dll lib_mingw_32/QtSql4.dll lib_mingw_32/QtXml4.dll
|
||||
endif
|
||||
|
||||
all: mojito lib/libkdchart.a $(KISSCOUNT)
|
||||
@@ -96,9 +96,9 @@ endif
|
||||
install:
|
||||
mkdir -p $(BIN_DIR) $(SHARE_DIR) $(DOC_DIR)
|
||||
cp $(KISSCOUNT) $(BIN_DIR)
|
||||
cp -rf ressources/* $(SHARE_DIR)
|
||||
cp -rf resources/* $(SHARE_DIR)
|
||||
rm -rf $(SHARE_DIR)/po/* # Only copy qm files
|
||||
cp -rf ressources/po/*.qm $(SHARE_DIR)/po/
|
||||
cp -rf resources/po/*.qm $(SHARE_DIR)/po/
|
||||
cp -rf README* ChangeLog AUTHORS COPYING TODO $(DOC_DIR)
|
||||
|
||||
remove:
|
||||
|
Reference in New Issue
Block a user