|
|
@ -303,17 +303,22 @@ done |
|
|
|
echo -en "\e[1m-> checking:\e[0m for version control system ..." |
|
|
|
echo -en "\e[1m-> checking:\e[0m for version control system ..." |
|
|
|
VCS="" |
|
|
|
VCS="" |
|
|
|
VCSDEPENDS="" |
|
|
|
VCSDEPENDS="" |
|
|
|
if test -d .svn; then |
|
|
|
for path in . .. ../.. ../../..; do |
|
|
|
|
|
|
|
if test -d ${path}/.svn; then |
|
|
|
VCS="svn" |
|
|
|
VCS="svn" |
|
|
|
VCSDEPENDS_DEB="svn2cl, subversion, subversion-tools," |
|
|
|
VCSDEPENDS_DEB="svn2cl, subversion, subversion-tools," |
|
|
|
VCSDEPENDS_RPM="subversion," |
|
|
|
VCSDEPENDS_RPM="subversion," |
|
|
|
echo -e " \e[32msuccess\e[0m detected ${VCS}" |
|
|
|
echo -e " \e[32msuccess\e[0m detected ${VCS}" |
|
|
|
elif test -d .git; then |
|
|
|
break |
|
|
|
|
|
|
|
elif test -d ${path}/.git; then |
|
|
|
VCS="git" |
|
|
|
VCS="git" |
|
|
|
VCSDEPENDS_DEB="git2cl, git," |
|
|
|
VCSDEPENDS_DEB="git2cl, git," |
|
|
|
VCSDEPENDS_RPM="git," |
|
|
|
VCSDEPENDS_RPM="git," |
|
|
|
echo -e " \e[32msuccess\e[0m detected ${VCS}" |
|
|
|
echo -e " \e[32msuccess\e[0m detected ${VCS}" |
|
|
|
else |
|
|
|
break |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
done |
|
|
|
|
|
|
|
if test -z "$VCS"; then |
|
|
|
echo -e " \e[33mignored\e[0m" |
|
|
|
echo -e " \e[33mignored\e[0m" |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
@ -634,7 +639,7 @@ LANGUAGE_FILE_BASE = ${PACKAGE_NAME} |
|
|
|
QT_PLUGINS = iconengines imageformats platforms |
|
|
|
QT_PLUGINS = iconengines imageformats platforms |
|
|
|
|
|
|
|
|
|
|
|
#### enable if you deliver a KDE/Gnome desktop file |
|
|
|
#### enable if you deliver a KDE/Gnome desktop file |
|
|
|
#applicationsdir = ${datarootdir}/applications |
|
|
|
#applicationsdir = \${datarootdir}/applications |
|
|
|
#dist_applications_DATA = ${PACKAGE_NAME}.desktop |
|
|
|
#dist_applications_DATA = ${PACKAGE_NAME}.desktop |
|
|
|
|
|
|
|
|
|
|
|
#### enable (ev. instead of bin_PROGRAMS) if you build a library |
|
|
|
#### enable (ev. instead of bin_PROGRAMS) if you build a library |
|
|
@ -671,25 +676,26 @@ ${PACKAGE_NAME//-/_}_TR_FILES = main.cxx version.cxx |
|
|
|
${PACKAGE_NAME//-/_}_SOURCES = \${${PACKAGE_NAME//-/_}_TR_FILES} \${BUILT_SOURCES} |
|
|
|
${PACKAGE_NAME//-/_}_SOURCES = \${${PACKAGE_NAME//-/_}_TR_FILES} \${BUILT_SOURCES} |
|
|
|
|
|
|
|
|
|
|
|
## automatic assembly, no need to change |
|
|
|
## automatic assembly, no need to change |
|
|
|
BUILT_SOURCES = \${${PACKAGE_NAME//-/_}_MOCFILES} \ |
|
|
|
BUILT_SOURCES = \${${PACKAGE_NAME//-/_}_MOCFILES} \\ |
|
|
|
\${${PACKAGE_NAME//-/_}_UIFILES} \ |
|
|
|
\${${PACKAGE_NAME//-/_}_UIFILES} \\ |
|
|
|
\${${PACKAGE_NAME//-/_}_TRANSLATIONS} \ |
|
|
|
\${${PACKAGE_NAME//-/_}_TRANSLATIONS} \\ |
|
|
|
\${${PACKAGE_NAME//-/_}_RESOURCES} |
|
|
|
\${${PACKAGE_NAME//-/_}_RESOURCES} |
|
|
|
|
|
|
|
|
|
|
|
## automatic assembly, no need to change |
|
|
|
## automatic assembly, no need to change |
|
|
|
EXTRA_DIST_TR = \${${PACKAGE_NAME//-/_}_MOCFILES:moc_%.cxx=%.hxx} \ |
|
|
|
EXTRA_DIST_TR = \${${PACKAGE_NAME//-/_}_MOCFILES:moc_%.cxx=%.hxx} \\ |
|
|
|
\${${PACKAGE_NAME//-/_}_UIFILES:ui_%.hxx=%.ui} |
|
|
|
\${${PACKAGE_NAME//-/_}_UIFILES:ui_%.hxx=%.ui} |
|
|
|
|
|
|
|
|
|
|
|
## automatic assembly, no need to change |
|
|
|
## automatic assembly, no need to change |
|
|
|
## except: adapt the pre-delivered qt_%.qm list (language files you copy from qt |
|
|
|
## except: adapt the pre-delivered qt_%.qm list (language files you copy from qt |
|
|
|
EXTRA_DIST = \${EXTRA_DIST_TR} \ |
|
|
|
EXTRA_DIST = \${EXTRA_DIST_TR} \\ |
|
|
|
\${${PACKAGE_NAME//-/_}_RESOURCES:qrc_%.cxx:%.qrc} \ |
|
|
|
\${${PACKAGE_NAME//-/_}_RESOURCES:qrc_%.cxx=%.qrc} \\ |
|
|
|
\${${PACKAGE_NAME//-/_}_TRANSLATIONS:%.qm=%.ts} \ |
|
|
|
\${${PACKAGE_NAME//-/_}_TRANSLATIONS:%.qm=%.ts} \\ |
|
|
|
qt_de.qm qt_fr.qm |
|
|
|
qt_de.qm qt_fr.qm |
|
|
|
|
|
|
|
|
|
|
|
## automatic assembly, no need to change |
|
|
|
## automatic assembly, no need to change |
|
|
|
LANGUAGE_FILES = \${EXTRA_DIST_TR} \${${PACKAGE_NAME//-/_}_TR_FILES} |
|
|
|
LANGUAGE_FILES = \${EXTRA_DIST_TR} \${${PACKAGE_NAME//-/_}_TR_FILES} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CLEANFILES = \${${PACKAGE_NAME//-/_}_RESOURCES} |
|
|
|
MAINTAINERCLEANFILES = makefile.in |
|
|
|
MAINTAINERCLEANFILES = makefile.in |
|
|
|
EOF |
|
|
|
EOF |
|
|
|
to --condition AX_USE_CXX src/main.cxx <<EOF |
|
|
|
to --condition AX_USE_CXX src/main.cxx <<EOF |
|
|
|