diff --git a/Makefile.am b/Makefile.am index 0acfa9ff..46582441 100644 --- a/Makefile.am +++ b/Makefile.am @@ -110,6 +110,7 @@ EXTRA_DIST=\ ${top_srcdir}/config/config.def.c\ INSTALL.md\ AUTHORS\ + doc/rofi.doxy.in\ Changelog ## @@ -227,5 +228,6 @@ cppcheck: ${rofi_SOURCES} ohcount: ${rofi_SOURCES} ohcount -i ${top_srcdir}/source/ -doxy: ${rofi_SOURCES} - doxygen ${top_srcdir}/doc/rofi.doxy +doxy: doc/rofi.doxy ${rofi_SOURCES} + doxygen ${top_builddir}/doc/rofi.doxy + diff --git a/configure.ac b/configure.ac index a5d4a7a1..d1d0b7ce 100644 --- a/configure.ac +++ b/configure.ac @@ -84,7 +84,7 @@ dnl Add extra compiler flags dnl --------------------------------------------------------------------- AC_SUBST([EXTRA_CFLAGS], ["-Wall -Wextra -Wparentheses -Winline -pedantic"]) -AC_CONFIG_FILES([Makefile ]) +AC_CONFIG_FILES([Makefile doc/rofi.doxy]) AC_OUTPUT dnl ----------------------------------------------- diff --git a/doc/rofi.doxy b/doc/rofi.doxy.in similarity index 99% rename from doc/rofi.doxy rename to doc/rofi.doxy.in index abac40e4..26713332 100644 --- a/doc/rofi.doxy +++ b/doc/rofi.doxy.in @@ -25,13 +25,13 @@ DOXYFILE_ENCODING = UTF-8 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded # by quotes) that should identify the project. -PROJECT_NAME = "rofi" +PROJECT_NAME = "@PACKAGE@" # The PROJECT_NUMBER tag can be used to enter a project or revision number. # This could be handy for archiving the generated documentation or # if some version control system is used. -PROJECT_NUMBER = "1.0.0-dev" +PROJECT_NUMBER = "@VERSION@" # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) # base path where the generated documentation will be put.