client/rhel/rhn-client-tools/setuptool.d/Makefile | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
New commits:
commit 9857430d70a746281db64a054cf4d75390145ca5
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Tue May 25 14:55:46 2010 +0200
593194 - fix creating the $(PREFIX)/usr/share/setuptool/setuptool.d when building the
package.
diff --git a/client/rhel/rhn-client-tools/setuptool.d/Makefile
b/client/rhel/rhn-client-tools/setuptool.d/Makefile
index 8953637..49157f2 100644
--- a/client/rhel/rhn-client-tools/setuptool.d/Makefile
+++ b/client/rhel/rhn-client-tools/setuptool.d/Makefile
@@ -1,7 +1,7 @@
PREFIX ?=
-DIR = /usr/share/setuptool/setuptool.d
+SETUPTOOLDIR = $(PREFIX)/usr/share/setuptool/setuptool.d
# INSTALL scripts
INSTALL = install -p --verbose
@@ -10,11 +10,11 @@ INSTALL_DATA = $(INSTALL) -m 644
all::
-$(DIR):
- @$(INSTALL_DIR) $(PREFIX)$@
+$(SETUPTOOLDIR):
+ @$(INSTALL_DIR) $@
-install:: $(DIR)
- $(INSTALL_DATA) 99rhn_register $(PREFIX)$(DIR)
+install:: $(SETUPTOOLDIR)
+ $(INSTALL_DATA) 99rhn_register $(SETUPTOOLDIR)
clean::
Show replies by date