|
|
|
@ -151,6 +151,9 @@ GENERATED FILES |
|
|
|
|
* scripts/makefile.am - if you enabled AX_USE_SCRIPTS |
|
|
|
|
* doc/makefile.am - if you enabled AX_USE_DOXYGEN |
|
|
|
|
* doc/doxyfile.in - if you enabled AX_USE_DOXYGEN |
|
|
|
|
* doc/header.html.in - if you enabled AX_USE_DOXYGEN |
|
|
|
|
* doc/footer.html.in - if you enabled AX_USE_DOXYGEN |
|
|
|
|
* doc/style.css - if you enabled AX_USE_DOXYGEN |
|
|
|
|
* test/makefile.am - if you enabled AX_USE_CPPUNIT and AX_USE_CXX |
|
|
|
|
* test/${DEFAULT_PROJECT_NAME#lib}.cxx - if you enabled AX_BUILD_TEST or AX_USE_CPPUNIT |
|
|
|
|
* examples/makefile.am - if you enabled AX_BUILD_EXAMPLES |
|
|
|
@ -566,6 +569,20 @@ if ! testtag AX_CHECK_QT && \ |
|
|
|
|
! testtag AX_REQUIRE_QT; then |
|
|
|
|
echo "${HEADER}MAINTAINERCLEANFILES = makefile.in" | \ |
|
|
|
|
to --condition AX_USE_CXX src/makefile.am |
|
|
|
|
if ! ls src/*.[ch]xx; then |
|
|
|
|
to --condition AX_USE_CXX src/${PACKAGE_NAME#lib}.hxx <<EOF |
|
|
|
|
${CHEADER}#ifndef ${PackageName^^}_HXX |
|
|
|
|
#define ${PackageName^^}_HXX |
|
|
|
|
|
|
|
|
|
/** @mainpage @description |
|
|
|
|
|
|
|
|
|
@readme |
|
|
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
#endif |
|
|
|
|
EOF |
|
|
|
|
fi |
|
|
|
|
elif ! test -e src/makefile.am; then |
|
|
|
|
to --condition AX_USE_CXX src/makefile.am <<EOF |
|
|
|
|
${HEADER}bin_PROGRAMS = ${PACKAGE_NAME} |
|
|
|
@ -656,10 +673,17 @@ int main(int argc, char *argv[]) try { |
|
|
|
|
return 1; |
|
|
|
|
} |
|
|
|
|
EOF |
|
|
|
|
to --condition AX_USE_CXX src/${PACKAGE_NAME}.hxx <<EOF |
|
|
|
|
if ! ls src/*.[ch]xx; then |
|
|
|
|
to --condition AX_USE_CXX src/${PACKAGE_NAME#lib}.hxx <<EOF |
|
|
|
|
${CHEADER}#ifndef ${PackageName^^}_HXX |
|
|
|
|
#define ${PackageName^^}_HXX |
|
|
|
|
|
|
|
|
|
/** @mainpage @description |
|
|
|
|
|
|
|
|
|
@readme |
|
|
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
#include <QMainWindow> |
|
|
|
|
#include <ui_${PACKAGE_NAME}.hxx> |
|
|
|
|
|
|
|
|
@ -676,7 +700,8 @@ class ${PackageName}: public QMainWindow, protected Ui::${PackageName} { |
|
|
|
|
|
|
|
|
|
#endif |
|
|
|
|
EOF |
|
|
|
|
to --condition AX_USE_CXX src/${PACKAGE_NAME}.ui <<EOF |
|
|
|
|
fi |
|
|
|
|
to --condition AX_USE_CXX src/${PACKAGE_NAME#lib}.ui <<EOF |
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?> |
|
|
|
|
<ui version="4.0"> |
|
|
|
|
<class>${PackageName}</class> |
|
|
|
@ -758,7 +783,7 @@ EOF |
|
|
|
|
to --condition AX_USE_CXX src/version.cxx <<EOF |
|
|
|
|
/*! @file |
|
|
|
|
|
|
|
|
|
@id $Id\$ |
|
|
|
|
@id \$Id\$ |
|
|
|
|
*/ |
|
|
|
|
// 1 2 3 4 5 6 7 8 |
|
|
|
|
// 45678901234567890123456789012345678901234567890123456789012345678901234567890 |
|
|
|
@ -873,6 +898,69 @@ www_DATA = |
|
|
|
|
|
|
|
|
|
MAINTAINERCLEANFILES = makefile.in |
|
|
|
|
EOF |
|
|
|
|
to --condition AX_USE_DOXYGEN doc/header.html.in <<EOF |
|
|
|
|
<!-- HTML header for doxygen 1.8.6--> |
|
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml"> |
|
|
|
|
<head> |
|
|
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/> |
|
|
|
|
<meta name="generator" content="Doxygen \$doxygenversion"/> |
|
|
|
|
<!--BEGIN PROJECT_NAME--><title>\$projectname: \$title</title><!--END PROJECT_NAME--> |
|
|
|
|
<!--BEGIN !PROJECT_NAME--><title>\$title</title><!--END !PROJECT_NAME--> |
|
|
|
|
<link href="\$relpath^tabs.css" rel="stylesheet" type="text/css"/> |
|
|
|
|
<script type="text/javascript" src="\$relpath^jquery.js"></script> |
|
|
|
|
<script type="text/javascript" src="\$relpath^dynsections.js"></script> |
|
|
|
|
\$treeview |
|
|
|
|
\$search |
|
|
|
|
\$mathjax |
|
|
|
|
<link href="\$relpath^\$stylesheet" rel="stylesheet" type="text/css" /> |
|
|
|
|
\$extrastylesheet |
|
|
|
|
</head> |
|
|
|
|
<body> |
|
|
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
|
|
|
|
|
|
|
|
|
<div id="titlearea"> |
|
|
|
|
<div id="projecthead"> |
|
|
|
|
<div id="projectlogo"><img alt="" src="\$relpath^\$projectlogo"/></div> |
|
|
|
|
<div id="projectname">\$projectname</span> <span id="projectnumber">\$projectnumber</div> |
|
|
|
|
<div id="projectbrief">\$projectbrief</div> |
|
|
|
|
</div> |
|
|
|
|
<nav> |
|
|
|
|
<a href="@PROJECT_URL@" target="_blank">Project Management</a> |
|
|
|
|
<a href="@SOURCE_DOWNLOAD@" target="_blank">Download</a> |
|
|
|
|
<div>\$searchbox</div> |
|
|
|
|
</nav> |
|
|
|
|
</div> |
|
|
|
|
EOF |
|
|
|
|
to --condition AX_USE_DOXYGEN doc/footer.html.in <<EOF |
|
|
|
|
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
|
|
|
|
<ul> |
|
|
|
|
\$navpath |
|
|
|
|
<li class="footer"><a href="@AUTHOR_URL@" target="_blank">@AUTHOR_NAME@</a></li> |
|
|
|
|
</ul> |
|
|
|
|
</div> |
|
|
|
|
</body> |
|
|
|
|
</html> |
|
|
|
|
EOF |
|
|
|
|
to --condition AX_USE_DOXYGEN doc/style.css <<EOF |
|
|
|
|
#titlearea { |
|
|
|
|
display: flex; |
|
|
|
|
justify-content: space-between; |
|
|
|
|
align-items: flex-begin; |
|
|
|
|
} |
|
|
|
|
#titlearea nav { |
|
|
|
|
padding: 0; |
|
|
|
|
margin: 0; |
|
|
|
|
} |
|
|
|
|
#titlearea nav a { |
|
|
|
|
background-color: lightgray; |
|
|
|
|
border: 1px solid gray; |
|
|
|
|
color: black; |
|
|
|
|
padding: 1ex; |
|
|
|
|
margin: 0; |
|
|
|
|
} |
|
|
|
|
EOF |
|
|
|
|
if testtag AX_USE_DOXYGEN; then |
|
|
|
|
if ! checkfile doc/doxyfile.in || \ |
|
|
|
|
contains doc/doxyfile.in "${rebuildfiles[@]}"; then |
|
|
|
@ -893,12 +981,15 @@ if testtag AX_USE_DOXYGEN; then |
|
|
|
|
doxyreplace MULTILINE_CPP_IS_BRIEF YES |
|
|
|
|
doxyreplace TAB_SIZE 2 |
|
|
|
|
doxyreplace ALIASES '"id=\\par File-ID\\n"' |
|
|
|
|
doxyadd ALIASES '"copy=\\par Copyright\\n"' |
|
|
|
|
doxyadd ALIASES '"copy=\\par Copyright by <a href="@AUTHOR_URL@" target="_blank">@AUTHOR_NAME@</a>\\n"' |
|
|
|
|
doxyadd ALIASES '"license=\\par License\\n"' |
|
|
|
|
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\\" \\"\\""' |
|
|
|
|
doxyadd ALIASES '"description=@DESCRIPTION@"' |
|
|
|
|
doxyadd ALIASES '"readme=@README_HTML@"' |
|
|
|
|
doxyadd ALIASES '"author=<a href="@AUTHOR_URL@" target="_blank">@AUTHOR_NAME@</a>"' |
|
|
|
|
doxyreplace ENABLE_PREPROCESSING YES |
|
|
|
|
doxyreplace MACRO_EXPANSION YES |
|
|
|
|
doxyadd PREDEFINED '"NAMESPACE=@PACKAGE_NAME@"' |
|
|
|
@ -927,7 +1018,13 @@ if testtag AX_USE_DOXYGEN; then |
|
|
|
|
fi |
|
|
|
|
doxyreplace FILE_PATTERNS '*.c *.cc *.cxx *.cpp *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.idl *.ddl *.odl *.h *.hh *.hxx *.hpp *.h++ *.cs *.d *.php *.php4 *.php5 *.phtml *.inc *.m *.markdown *.md *.mm *.dox *.py *.f90 *.f *.for *.tcl *.vhd *.vhdl *.ucf *.qsf *.as *.js *.wt *.sql' |
|
|
|
|
doxyreplace RECURSIVE YES |
|
|
|
|
doxyreplace EXCLUDE_PATTERNS "moc_* uic_* qrc_*" |
|
|
|
|
doxyreplace EXCLUDE_PATTERNS "moc_* uic_* qrc_* version.[ch]xx" |
|
|
|
|
doxyreplace HTML_HEADER header.html |
|
|
|
|
doxyreplace HTML_FOOTER footer.html |
|
|
|
|
doxyreplace HTML_EXTRA_STYLESHEET style.css |
|
|
|
|
doxyreplace HTML_DYNAMIC_SECTIONS YES |
|
|
|
|
doxyreplace DISABLE_INDEX YES |
|
|
|
|
doxyreplace GENERATE_TREEVIEW YES |
|
|
|
|
if testtag AX_BUILD_EXAMPLES; then |
|
|
|
|
doxyreplace EXAMPLE_PATH @top_srcdir@/examples |
|
|
|
|
fi |
|
|
|
@ -936,7 +1033,6 @@ if testtag AX_USE_DOXYGEN; then |
|
|
|
|
doxyreplace SOURCE_BROWSER YES |
|
|
|
|
doxyreplace INLINE_SOURCES YES |
|
|
|
|
doxyreplace GENERATE_TESTLIST YES |
|
|
|
|
doxyreplace GENERATE_TREEVIEW NO |
|
|
|
|
doxyreplace SEARCHENGINE NO |
|
|
|
|
doxyreplace GENERATE_HTML YES |
|
|
|
|
doxyreplace GENERATE_LATEX NO |
|
|
|
@ -963,7 +1059,7 @@ if testtag AX_USE_DEBIAN_PACKAGING; then |
|
|
|
|
|
|
|
|
|
-- @AUTHOR@ @BUILD_DATE@ |
|
|
|
|
EOF |
|
|
|
|
BUILD_DEPENDS="debhelper, ${VCSDEPENDS} pkg-config, automake, libtool, autotools-dev, lsb-release $(if testtag AX_USE_DOXYGEN; then echo -n ", doxygen, graphviz, mscgen"; fi; if testtag AX_USE_CPPUNIT; then echo -n ", libcppunit-dev"; fi; if testtag AX_CXX_QT || testtag AX_CHECK_QT AX_REQUIRE_QT; then echo -n ", qt5-default | libqt4-core | libqtcore4, qt5-qmake | qt4-qmake, qtbase5-dev | libqt4-dev, qtbase5-dev-tools | qt4-dev-tools, qttools5-dev-tools | qt4-dev-tools, qttools5-dev-tools | qt4-dev-tools"; fi)" |
|
|
|
|
BUILD_DEPENDS="debhelper, ${VCSDEPENDS} pkg-config, automake, libtool, autotools-dev, pandoc, lsb-release $(if testtag AX_USE_DOXYGEN; then echo -n ", doxygen, graphviz, mscgen"; fi; if testtag AX_USE_CPPUNIT; then echo -n ", libcppunit-dev"; fi; if testtag AX_CXX_QT || testtag AX_CHECK_QT AX_REQUIRE_QT; then echo -n ", qt5-default | libqt4-core | libqtcore4, qt5-qmake | qt4-qmake, qtbase5-dev | libqt4-dev, qtbase5-dev-tools | qt4-dev-tools, qttools5-dev-tools | qt4-dev-tools, qttools5-dev-tools | qt4-dev-tools"; fi)" |
|
|
|
|
to debian/control.in <<EOF |
|
|
|
|
Source: @PACKAGE_NAME@ |
|
|
|
|
Priority: extra |
|
|
|
|