From: Enrico Scholz Date: Mon, 20 Oct 2003 18:08:35 +0000 (+0000) Subject: added PKGSTATEDIR substitution X-Git-Tag: VERSION_0_10~1177 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bcd8dbdb329d16cdec6e305ea10517d5be16f263;p=util-vserver.git added PKGSTATEDIR substitution git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@236 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/util-vserver/Makefile.am b/util-vserver/Makefile.am index 77f5409..4d1da25 100644 --- a/util-vserver/Makefile.am +++ b/util-vserver/Makefile.am @@ -84,6 +84,7 @@ pathsubst_RULES = s!@'PKGLIBDIR'@!$(pkglibdir)!g; \ s!@'SBINDIR'@!$(sbindir)!g; \ s!@'CONFDIR'@!$(confdir)!g; \ s!@'SYSCONFDIR'@!$(sysconfdir)!g; \ + s!@'PKGSTATEDIR'@!$(pkgstatedir)!g; \ s!@'PACKAGE'@!$(PACKAGE)!g; \ s!@'PACKAGE_BUGREPORT'@!$(PACKAGE_BUGREPORT)!g; \ s!@'PACKAGE_NAME'@!$(PACKAGE_NAME)!g; \ @@ -113,8 +114,9 @@ pathconfig.h: .pathconfig.h.pathsubst.stamp @chmod a-w '$*' @touch '$@' +pkgstatedir = $(localstatedir)/run/vservers install-data-local: - $(INSTALL) -d -m755 $(DESTDIR)$(localstatedir)/run/vservers + $(INSTALL) -d -m755 $(DESTDIR)$(pkgstatedir) if USE_DIETLIBC $(addsuffix $(EXEEXT), $(DIETPROGS)) \