mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-24 19:00:00 +01:00
Implementation de 'make install'
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@199 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -1,12 +1,25 @@
|
|||||||
######################################################################
|
######################################################################
|
||||||
# Automatically generated by qmake (2.01a) ven. sept. 21 14:11:20 2007
|
# Fichier projet de QElectroTech #
|
||||||
|
######################################################################
|
||||||
|
|
||||||
|
# Chemins utilises pour la compilation et l'installation de QET
|
||||||
|
COMPIL_PREFIX = '/usr/local/'
|
||||||
|
INSTALL_PREFIX = '/usr/local/'
|
||||||
|
QET_BINARY_PATH = 'bin/'
|
||||||
|
QET_COMMON_COLLECTION_PATH = 'share/qelectrotech/elements/'
|
||||||
|
QET_LANG_PATH = 'share/qelectrotech/lang/'
|
||||||
|
QET_LICENSE_PATH = 'doc/qelectrotech/'
|
||||||
|
|
||||||
|
#Commenter la ligne ci-dessous pour desactiver l'option --common-elements-dir
|
||||||
|
DEFINES += QET_ALLOW_OVERRIDE_CED_OPTION
|
||||||
|
|
||||||
######################################################################
|
######################################################################
|
||||||
|
|
||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
DEPENDPATH += . editor lang
|
DEPENDPATH += . editor lang
|
||||||
INCLUDEPATH += . editor
|
INCLUDEPATH += . editor
|
||||||
|
|
||||||
# Input
|
# Fichiers sources
|
||||||
HEADERS += aboutqet.h \
|
HEADERS += aboutqet.h \
|
||||||
borderinset.h \
|
borderinset.h \
|
||||||
conductor.h \
|
conductor.h \
|
||||||
@@ -35,7 +48,7 @@ HEADERS += aboutqet.h \
|
|||||||
orientationset.h \
|
orientationset.h \
|
||||||
orientationsetwidget.h \
|
orientationsetwidget.h \
|
||||||
qet.h \
|
qet.h \
|
||||||
qetapp.h \
|
qetapp.h \
|
||||||
qetdiagrameditor.h \
|
qetdiagrameditor.h \
|
||||||
qgimanager.h \
|
qgimanager.h \
|
||||||
terminal.h \
|
terminal.h \
|
||||||
@@ -67,7 +80,7 @@ HEADERS += aboutqet.h \
|
|||||||
diagramtextitem.h \
|
diagramtextitem.h \
|
||||||
insetproperties.h \
|
insetproperties.h \
|
||||||
conductorpropertieswidget.h \
|
conductorpropertieswidget.h \
|
||||||
conductorproperties.h
|
conductorproperties.h
|
||||||
SOURCES += aboutqet.cpp \
|
SOURCES += aboutqet.cpp \
|
||||||
borderinset.cpp \
|
borderinset.cpp \
|
||||||
conductor.cpp \
|
conductor.cpp \
|
||||||
@@ -95,8 +108,8 @@ SOURCES += aboutqet.cpp \
|
|||||||
newelementwizard.cpp \
|
newelementwizard.cpp \
|
||||||
orientationset.cpp \
|
orientationset.cpp \
|
||||||
orientationsetwidget.cpp \
|
orientationsetwidget.cpp \
|
||||||
qet.cpp \
|
qet.cpp \
|
||||||
qetapp.cpp \
|
qetapp.cpp \
|
||||||
qetdiagrameditor.cpp \
|
qetdiagrameditor.cpp \
|
||||||
qgimanager.cpp \
|
qgimanager.cpp \
|
||||||
terminal.cpp \
|
terminal.cpp \
|
||||||
@@ -127,23 +140,33 @@ SOURCES += aboutqet.cpp \
|
|||||||
diagramcommands.cpp \
|
diagramcommands.cpp \
|
||||||
diagramtextitem.cpp \
|
diagramtextitem.cpp \
|
||||||
conductorpropertieswidget.cpp \
|
conductorpropertieswidget.cpp \
|
||||||
conductorproperties.cpp
|
conductorproperties.cpp
|
||||||
RESOURCES += qelectrotech.qrc
|
RESOURCES += qelectrotech.qrc
|
||||||
TRANSLATIONS += lang/qet_en.ts lang/qt_fr.ts
|
TRANSLATIONS += lang/qet_en.ts lang/qt_fr.ts
|
||||||
RC_FILE = ico/windows_icon/application_icon/qelectrotech.rc
|
RC_FILE = ico/windows_icon/application_icon/qelectrotech.rc
|
||||||
QT += xml svg
|
QT += xml svg
|
||||||
CONFIG += debug_and_release warn_on
|
CONFIG += debug_and_release warn_on
|
||||||
CONFIG(debug, debug|release) {
|
TARGET = qelectrotech
|
||||||
TARGET = qelectrotech
|
|
||||||
} else {
|
|
||||||
TARGET = qelectrotech.release
|
|
||||||
}
|
|
||||||
|
|
||||||
#Chemin des fichiers de traduction ; par defaut : lang/ dans le repertoire d'execution
|
# Description de l'installation
|
||||||
#DEFINES += QET_LANG_PATH='/path/to/qelectrotech/lang/'
|
target.path = $$join(INSTALL_PREFIX,,,$${QET_BINARY_PATH})
|
||||||
|
target.files = $${TARGET}
|
||||||
|
|
||||||
#Chemin de la collection commune ; par defaut : elements/ dans le repertoire d'execution
|
elements.path = $$join(INSTALL_PREFIX,,,$${QET_COMMON_COLLECTION_PATH})
|
||||||
#DEFINES += QET_COMMON_COLLECTION_PATH='/path/to/qelectrotech/elements/'
|
elements.files = elements/*
|
||||||
|
|
||||||
#Commenter la ligne ci-dessous pour desactiver l'option --common-elements-dir
|
lang.path = $$join(INSTALL_PREFIX,,,$${QET_LANG_PATH})
|
||||||
DEFINES += QET_ALLOW_OVERRIDE_CED_OPTION
|
lang.files = $$replace(TRANSLATIONS, '.ts', '.qm')
|
||||||
|
|
||||||
|
copyright.path = $$join(INSTALL_PREFIX,,,$${QET_LICENSE_PATH})
|
||||||
|
copyright.files = LICENSE
|
||||||
|
|
||||||
|
# L'installation comprend la copie du binaire, des elements, des fichiers de langue et du fichier LICENSE
|
||||||
|
INSTALLS += target elements lang copyright
|
||||||
|
|
||||||
|
# Options de compilation
|
||||||
|
# Chemin des fichiers de traduction ; par defaut : lang/ dans le repertoire d'execution
|
||||||
|
DEFINES += QET_LANG_PATH=$$join(COMPIL_PREFIX,,,$${QET_LANG_PATH})
|
||||||
|
|
||||||
|
# Chemin de la collection commune ; par defaut : elements/ dans le repertoire d'execution
|
||||||
|
DEFINES += QET_COMMON_COLLECTION_PATH=$$join(COMPIL_PREFIX,,,$${QET_COMMON_COLLECTION_PATH})
|
||||||
|
|||||||
Reference in New Issue
Block a user