projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bf45c5
)
Split install-exec-hook out of install-data-local:-block.
author
Ralf Corsépius
<corsepiu@fedoraproject.org>
Thu, 6 Sep 2007 07:39:01 +0000
(09:39 +0200)
committer
Ralf Corsépius
<corsepiu@fedoraproject.org>
Thu, 6 Sep 2007 07:39:01 +0000
(09:39 +0200)
Makefile.am
patch
|
blob
|
history
diff --git
a/Makefile.am
b/Makefile.am
index
0aa8ad3
..
5eea549
100644
(file)
--- a/
Makefile.am
+++ b/
Makefile.am
@@
-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