Split install-exec-hook out of install-data-local:-block.

This commit is contained in:
Ralf Corsépius 2007-09-06 09:39:01 +02:00
parent 1bf45c5285
commit a22290f746
1 changed files with 3 additions and 1 deletions

View File

@ -93,7 +93,7 @@ pkgsrcdir = $(prefix)/src/$(RPMCANONVENDOR)
rpmvardir = $(localstatedir)/lib/rpm
rpmvar_DATA =
install-data-local:
install-exec-hook:
@rm -f $(DESTDIR)$(rpmlibexecdir)/rpmt
@@LN_S@ rpmb $(DESTDIR)$(rpmlibexecdir)/rpmt
@rm -f $(DESTDIR)$(rpmlibexecdir)/rpme
@ -116,6 +116,8 @@ install-data-local:
rm -f $(DESTDIR)$(bindir)/rpm$$bf ; \
@LN_S@ ../lib/rpm/rpm$$bf $(DESTDIR)$(bindir)/rpm$$bf ; \
done
install-data-local:
@for dir in BUILD RPMS SOURCES SPECS SRPMS ; do\
$(MKDIR_P) $(DESTDIR)$(pkgsrcdir)/$$dir;\
done