|
|
@ -118,6 +118,7 @@ GENERATED FILES |
|
|
|
* README - add project description (first line is header, followed by an empty line) |
|
|
|
* README - add project description (first line is header, followed by an empty line) |
|
|
|
* configure.ac - global configuration file template |
|
|
|
* configure.ac - global configuration file template |
|
|
|
* makefile.am - global makefile template |
|
|
|
* makefile.am - global makefile template |
|
|
|
|
|
|
|
* ${DEFAULT_PROJECT_NAME}.desktop.in - linux desktop file |
|
|
|
* src/makefile.am - if you enabled AX_USE_CXX |
|
|
|
* src/makefile.am - if you enabled AX_USE_CXX |
|
|
|
* src/version.hxx - if you enabled AX_USE_CXX |
|
|
|
* src/version.hxx - if you enabled AX_USE_CXX |
|
|
|
* src/version.cxx - if you enabled AX_USE_CXX |
|
|
|
* src/version.cxx - if you enabled AX_USE_CXX |
|
|
@ -322,7 +323,7 @@ checkdir() { |
|
|
|
|
|
|
|
|
|
|
|
checkfile() { |
|
|
|
checkfile() { |
|
|
|
exists=0 |
|
|
|
exists=0 |
|
|
|
if test -f "$1"; then |
|
|
|
if test -f "$1" -o -f "$1".in; then |
|
|
|
exists=1 |
|
|
|
exists=1 |
|
|
|
fi |
|
|
|
fi |
|
|
|
test $exists -eq 1 |
|
|
|
test $exists -eq 1 |
|
|
@ -706,10 +707,10 @@ namespace NAMESPACE { |
|
|
|
return README; |
|
|
|
return README; |
|
|
|
} |
|
|
|
} |
|
|
|
std::string logo() { |
|
|
|
std::string logo() { |
|
|
|
return PROJECT_LOGO; |
|
|
|
return PACKAGE_LOGO; |
|
|
|
} |
|
|
|
} |
|
|
|
std::string icon() { |
|
|
|
std::string icon() { |
|
|
|
return PROJECT_ICON; |
|
|
|
return PACKAGE_ICON; |
|
|
|
} |
|
|
|
} |
|
|
|
const std::string WHAT("#(@) " PACKAGE_STRING); |
|
|
|
const std::string WHAT("#(@) " PACKAGE_STRING); |
|
|
|
const std::string IDENT("\$Id: " PACKAGE_STRING); |
|
|
|
const std::string IDENT("\$Id: " PACKAGE_STRING); |
|
|
@ -721,7 +722,7 @@ ${HEADER}dist_bin_SCRIPTS = |
|
|
|
MAINTAINERCLEANFILES = makefile.in |
|
|
|
MAINTAINERCLEANFILES = makefile.in |
|
|
|
EOF |
|
|
|
EOF |
|
|
|
echo "${HEADER}MAINTAINERCLEANFILES = makefile.in" | to --condition AX_USE_DOXYGEN doc/makefile.am |
|
|
|
echo "${HEADER}MAINTAINERCLEANFILES = makefile.in" | to --condition AX_USE_DOXYGEN doc/makefile.am |
|
|
|
to --condition AX_BUILD_TEST test/runtests.sh < test/runtests.sh |
|
|
|
to --condition AX_BUILD_TEST test/runtests.sh < ${0%/*}/test/runtests.sh |
|
|
|
to --condition 'AX_BUILD_TEST|AX_USE_CPPUNIT' test/makefile.am <<EOF |
|
|
|
to --condition 'AX_BUILD_TEST|AX_USE_CPPUNIT' test/makefile.am <<EOF |
|
|
|
${HEADER}$(if testtag AX_USE_CXX; then |
|
|
|
${HEADER}$(if testtag AX_USE_CXX; then |
|
|
|
cat <<EOF2 |
|
|
|
cat <<EOF2 |
|
|
@ -765,7 +766,7 @@ if testtag AX_USE_DOXYGEN; then |
|
|
|
doxyreplace PROJECT_NAME "@PACKAGE_NAME@" |
|
|
|
doxyreplace PROJECT_NAME "@PACKAGE_NAME@" |
|
|
|
doxyreplace PROJECT_NUMBER "@PACKAGE_VERSION@" |
|
|
|
doxyreplace PROJECT_NUMBER "@PACKAGE_VERSION@" |
|
|
|
doxyreplace PROJECT_BRIEF "@DESCRIPTION@" |
|
|
|
doxyreplace PROJECT_BRIEF "@DESCRIPTION@" |
|
|
|
doxyreplace PROJECT_LOGO "@PROJECT_LOGO@" |
|
|
|
doxyreplace PROJECT_LOGO "@top_srcdir@/@PACKACE_LOGO@" |
|
|
|
doxyreplace INLINE_INHERITED_MEMB YES |
|
|
|
doxyreplace INLINE_INHERITED_MEMB YES |
|
|
|
doxyreplace MULTILINE_CPP_IS_BRIEF YES |
|
|
|
doxyreplace MULTILINE_CPP_IS_BRIEF YES |
|
|
|
doxyreplace TAB_SIZE 2 |
|
|
|
doxyreplace TAB_SIZE 2 |
|
|
@ -887,6 +888,17 @@ ${HEADER}%: |
|
|
|
EOF |
|
|
|
EOF |
|
|
|
echo 7 | to debian/compat |
|
|
|
echo 7 | to debian/compat |
|
|
|
fi |
|
|
|
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 |
|
|
|
to --condition AX_USE_RPM_PACKAGING ${PACKAGE_NAME}.spec.in <<EOF |
|
|
|
Summary: @DESCRIPTION@ |
|
|
|
Summary: @DESCRIPTION@ |
|
|
|
Name: @PACKAGE_NAME@ |
|
|
|
Name: @PACKAGE_NAME@ |
|
|
@ -960,6 +972,7 @@ $(if testtag AX_USE_LIBTOOL; then |
|
|
|
echo '/usr/%_lib/@PACKAGE_NAME@.so.*' |
|
|
|
echo '/usr/%_lib/@PACKAGE_NAME@.so.*' |
|
|
|
else |
|
|
|
else |
|
|
|
echo '/usr/bin/*' |
|
|
|
echo '/usr/bin/*' |
|
|
|
|
|
|
|
echo '/usr/share/applications/*' |
|
|
|
fi) |
|
|
|
fi) |
|
|
|
%doc |
|
|
|
%doc |
|
|
|
$(if testtag AX_USE_LIBTOOL; then |
|
|
|
$(if testtag AX_USE_LIBTOOL; then |
|
|
@ -1030,7 +1043,10 @@ done |
|
|
|
to makefile.am<<EOF |
|
|
|
to makefile.am<<EOF |
|
|
|
${HEADER}SUBDIRS =${SUBDIRS} |
|
|
|
${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 |
|
|
|
MAINTAINERCLEANFILES = makefile.in |
|
|
|
EOF |
|
|
|
EOF |
|
|
|