|
|
|
@ -112,11 +112,13 @@ GENERATED FILES |
|
|
|
|
* build-resource-file.sh - build resource.qrc file from a resource directory |
|
|
|
|
* sql-to-dot.sed - script to convert SQL schema files to graphviz dot in doxygen |
|
|
|
|
* mac-create-app-bundle.sh - script to create apple mac os-x app-bundle |
|
|
|
|
* test/runtests.sh - template file to run test scripts, i.e. docker based |
|
|
|
|
* AUTHORS - replace your name in AUTHORS before first run |
|
|
|
|
* NEWS - empty file add your project's news |
|
|
|
|
* README - add project description (first line is header, followed by an empty line) |
|
|
|
|
* configure.ac - global configuration file template |
|
|
|
|
* makefile.am - global makefile template |
|
|
|
|
* ${DEFAULT_PROJECT_NAME}.desktop.in - linux desktop file |
|
|
|
|
* src/makefile.am - if you enabled AX_USE_CXX |
|
|
|
|
* src/version.hxx - if you enabled AX_USE_CXX |
|
|
|
|
* src/version.cxx - if you enabled AX_USE_CXX |
|
|
|
@ -197,7 +199,7 @@ FILES |
|
|
|
|
<ou can access the readme by calling |
|
|
|
|
${DEFAULT_PROJECT_NAME}::description(). |
|
|
|
|
* ChangeLog: Your changelog is automatically maintained from |
|
|
|
|
subversion history, using svn2cl | subversion-tools. You don't need to |
|
|
|
|
subversion history, using svn2cl. You don't need to |
|
|
|
|
care about. |
|
|
|
|
* configure.ac: This file becomes very short and simple. You provide |
|
|
|
|
the project name, the major and minor version. The |
|
|
|
@ -321,7 +323,7 @@ checkdir() { |
|
|
|
|
|
|
|
|
|
checkfile() { |
|
|
|
|
exists=0 |
|
|
|
|
if test -f "$1"; then |
|
|
|
|
if test -f "$1" -o -f "$1".in; then |
|
|
|
|
exists=1 |
|
|
|
|
fi |
|
|
|
|
test $exists -eq 1 |
|
|
|
@ -705,10 +707,10 @@ namespace NAMESPACE { |
|
|
|
|
return README; |
|
|
|
|
} |
|
|
|
|
std::string logo() { |
|
|
|
|
return PROJECT_LOGO; |
|
|
|
|
return PACKAGE_LOGO; |
|
|
|
|
} |
|
|
|
|
std::string icon() { |
|
|
|
|
return PROJECT_ICON; |
|
|
|
|
return PACKAGE_ICON; |
|
|
|
|
} |
|
|
|
|
const std::string WHAT("#(@) " PACKAGE_STRING); |
|
|
|
|
const std::string IDENT("\$Id: " PACKAGE_STRING); |
|
|
|
@ -720,6 +722,7 @@ ${HEADER}dist_bin_SCRIPTS = |
|
|
|
|
MAINTAINERCLEANFILES = makefile.in |
|
|
|
|
EOF |
|
|
|
|
echo "${HEADER}MAINTAINERCLEANFILES = makefile.in" | to --condition AX_USE_DOXYGEN doc/makefile.am |
|
|
|
|
to --condition AX_BUILD_TEST test/runtests.sh < ${0%/*}/test/runtests.sh |
|
|
|
|
to --condition 'AX_BUILD_TEST|AX_USE_CPPUNIT' test/makefile.am <<EOF |
|
|
|
|
${HEADER}$(if testtag AX_USE_CXX; then |
|
|
|
|
cat <<EOF2 |
|
|
|
@ -763,7 +766,7 @@ if testtag AX_USE_DOXYGEN; then |
|
|
|
|
doxyreplace PROJECT_NAME "@PACKAGE_NAME@" |
|
|
|
|
doxyreplace PROJECT_NUMBER "@PACKAGE_VERSION@" |
|
|
|
|
doxyreplace PROJECT_BRIEF "@DESCRIPTION@" |
|
|
|
|
doxyreplace PROJECT_LOGO "@PROJECT_LOGO@" |
|
|
|
|
doxyreplace PROJECT_LOGO "@top_srcdir@/@PACKACE_LOGO@" |
|
|
|
|
doxyreplace INLINE_INHERITED_MEMB YES |
|
|
|
|
doxyreplace MULTILINE_CPP_IS_BRIEF YES |
|
|
|
|
doxyreplace TAB_SIZE 2 |
|
|
|
@ -773,6 +776,7 @@ if testtag AX_USE_DOXYGEN; then |
|
|
|
|
doxyadd ALIASES '"classmutex=\\par Reentrant:\\nAccess is locked with class static mutex @c "' |
|
|
|
|
doxyadd ALIASES '"instancemutex=\\par Reentrant:\\nAccess is locked with per instance mutex @c "' |
|
|
|
|
doxyadd ALIASES '"mutex=\\par Reentrant:\\nAccess is locked with mutex @c "' |
|
|
|
|
doxyadd ALIASES '"api=\\xrefitem api \\"API Call\\" \\"\\""' |
|
|
|
|
doxyreplace ENABLE_PREPROCESSING YES |
|
|
|
|
doxyreplace MACRO_EXPANSION YES |
|
|
|
|
doxyadd PREDEFINED '"NAMESPACE=@PACKAGE_NAME@"' |
|
|
|
@ -824,7 +828,7 @@ if testtag AX_USE_DOXYGEN; then |
|
|
|
|
doxyreplace CLASS_GRAPH YES |
|
|
|
|
doxyreplace TEMPLATE_RELATIONS YES |
|
|
|
|
doxyreplace DOT_IMAGE_FORMAT svg |
|
|
|
|
doxyreplace INTERACTIVE_SVG YES |
|
|
|
|
doxyreplace INTERACTIVE_SVG NO |
|
|
|
|
doxyreplace DOT_TRANSPARENT YES |
|
|
|
|
fi |
|
|
|
|
fi |
|
|
|
@ -884,6 +888,17 @@ ${HEADER}%: |
|
|
|
|
EOF |
|
|
|
|
echo 7 | to debian/compat |
|
|
|
|
fi |
|
|
|
|
to ${PACKAGE_NAME}.desktop.in <<EOF |
|
|
|
|
[Desktop Entry] |
|
|
|
|
Type=Application |
|
|
|
|
Name=${PACKAGE_NAME} |
|
|
|
|
GenericName=${PACKAGE_NAME} |
|
|
|
|
Comment=@DESCRIPTION@ |
|
|
|
|
Icon=@prefix@/share/@PACKAGE_NAME@/@PACKAGE_ICON@ |
|
|
|
|
Exec=${PACKAGE_NAME} %u |
|
|
|
|
Terminal=false |
|
|
|
|
Categories=Qt;Utility; |
|
|
|
|
EOF |
|
|
|
|
to --condition AX_USE_RPM_PACKAGING ${PACKAGE_NAME}.spec.in <<EOF |
|
|
|
|
Summary: @DESCRIPTION@ |
|
|
|
|
Name: @PACKAGE_NAME@ |
|
|
|
@ -957,6 +972,7 @@ $(if testtag AX_USE_LIBTOOL; then |
|
|
|
|
echo '/usr/%_lib/@PACKAGE_NAME@.so.*' |
|
|
|
|
else |
|
|
|
|
echo '/usr/bin/*' |
|
|
|
|
echo '/usr/share/applications/*' |
|
|
|
|
fi) |
|
|
|
|
%doc |
|
|
|
|
$(if testtag AX_USE_LIBTOOL; then |
|
|
|
@ -1027,7 +1043,10 @@ done |
|
|
|
|
to makefile.am<<EOF |
|
|
|
|
${HEADER}SUBDIRS =${SUBDIRS} |
|
|
|
|
|
|
|
|
|
doc_DATA = AUTHORS NEWS README COPYING INSTALL ChangeLog |
|
|
|
|
desktopdir = \${datadir}/applications |
|
|
|
|
desktop_DATA = @PACKAGE_DESKTOP@ |
|
|
|
|
dist_pkgdata_DATA = @PACKAGE_ICON@ |
|
|
|
|
dist_doc_DATA = AUTHORS NEWS README COPYING INSTALL ChangeLog |
|
|
|
|
|
|
|
|
|
MAINTAINERCLEANFILES = makefile.in |
|
|
|
|
EOF |
|
|
|
@ -1052,7 +1071,7 @@ if test -f makefile; then |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
#### Bootstrap Before Configure #### |
|
|
|
|
run --no-check svn2cl | subversion-tools |
|
|
|
|
run --no-check svn2cl |
|
|
|
|
run aclocal |
|
|
|
|
if testtag AX_USE_LIBTOOL; then run libtoolize --force; fi |
|
|
|
|
run automake -a |
|
|
|
|