-# Automatic configuration, installation paths part
-# (c) 2008 Michal Vaner <vorner@ucw.cz>
-# Code taken from autoconf.cfg by:
+# UCW Library configuration system: installation paths
# (c) 2005--2008 Martin Mares <mj@ucw.cz>
# (c) 2006 Robert Spalek <robert@ucw.cz>
+# (c) 2008 Michal Vaner <vorner@ucw.cz>
package UCW::Configure::Paths;
use UCW::Configure;
+use strict;
+use warnings;
+
Log "Determining installation prefix ... ";
if (IsSet("CONFIG_LOCAL")) {
Log("local build\n");
Set("INSTALL_LOG_DIR", '$(INSTALL_VAR_PREFIX)log');
Set("INSTALL_STATE_DIR", '$(INSTALL_VAR_PREFIX)lib');
Set("INSTALL_RUN_DIR", '$(INSTALL_VAR_PREFIX)run');
+Set("INSTALL_DOC_DIR", '$(INSTALL_USR_PREFIX)share/doc');
+Set("INSTALL_PERL_DIR", '$(INSTALL_LIB_DIR)/perl5');
# Remember PKG_CONFIG_PATH used for building, so that it will be propagated to
# pkg-config's run locally in the makefiles.
Set("PKG_CONFIG_PATH", $ENV{"PKG_CONFIG_PATH"}) if defined $ENV{"PKG_CONFIG_PATH"};
-# We succeeded
+# We succeeded
1;