diff --git a/ax_init_standard_project.m4 b/ax_init_standard_project.m4 index 79bc715..ccddf89 100644 --- a/ax_init_standard_project.m4 +++ b/ax_init_standard_project.m4 @@ -167,8 +167,8 @@ AC_DEFUN([AX_INIT_STANDARD_PROJECT], [ AX_SUBST(BUILD_NUMBER) BUILD_DATE=$(LANG= date +"%a, %d %b %Y %H:%M:%S %z") AX_SUBST(BUILD_DATE) - if test -f "${PACKAGE_NAME}.dektop.in"; then - PACKAGE_DESKTOP="${PACKAGE_NAME}.dektop" + if test -f "${PACKAGE_NAME}.desktop.in"; then + PACKAGE_DESKTOP="${PACKAGE_NAME}.desktop" fi AX_SUBST(PACKAGE_DESKTOP) if test -f "${PACKAGE_NAME}-logo.png"; then diff --git a/bootstrap.sh b/bootstrap.sh index 018166e..67b7bf0 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -118,6 +118,7 @@ GENERATED FILES * 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 @@ -322,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 @@ -1042,10 +1043,10 @@ done to makefile.am< - 1 + 0