doc: Use "rm", not nonexistent variable $(RM), in uninstall-local.
[pspp] / configure.ac
index 28ae3e4efde7af50f4aba083706ca9f38a510447..e62a77504d01186f444a2debf8dea18e0f0736f3 100644 (file)
@@ -325,10 +325,14 @@ RELOCATABLE_STRIP=:
 
 PSPP_CHECK_PREREQS
 
+dnl The makefile needs to know if we're cross compiling, so that
+dnl it can make arrangements to build the documentation examples.
+AM_CONDITIONAL(cross_compiling, test x"$cross_compiling" = x"yes" )
+
 AC_CONFIG_FILES(
   [Makefile gl/Makefile po/Makefile tests/atlocal perl-module/lib/PSPP.pm])
 
-AC_CONFIG_COMMANDS([doc/examples/dummy], [:])
+AC_CONFIG_COMMANDS([doc/pspp-figures/dummy], [:])
 
 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES])