[project @ 2001-04-16 01:30:16 by chak]
authorchak <unknown>
Mon, 16 Apr 2001 01:30:16 +0000 (01:30 +0000)
committerchak <unknown>
Mon, 16 Apr 2001 01:30:16 +0000 (01:30 +0000)
$(bindir) has to be in place before creating symbolic links (otherwise, rpms
cannot be built with the BUILD_ROOT feature).

mk/target.mk

index 64cf1c9..59223f6 100644 (file)
@@ -701,6 +701,7 @@ $(LINK) : $(LINK_TARGET)
 # install links to script drivers.
 #
 install ::
+       @$(INSTALL_DIR) $(bindir)
        @if ( $(PERL) -e '$$fn="$(bindir)/$(LINK)"; exit ((! -f $$fn || -l $$fn) ? 0 : 1);' ); then \
           echo "Creating a symbol link from $(LINK_TARGET) to $(LINK) in $(bindir)"; \
           $(RM) $(bindir)/$(LINK); \