From bcd8dbdb329d16cdec6e305ea10517d5be16f263 Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Mon, 20 Oct 2003 18:08:35 +0000 Subject: [PATCH] added PKGSTATEDIR substitution git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@236 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- util-vserver/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)) \ -- 1.8.1.5