summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorRalf Corsépius <corsepiu@fedoraproject.org>2007-11-22 17:19:38 +0100
committerRalf Corsépius <corsepiu@fedoraproject.org>2007-11-22 17:19:38 +0100
commit575a851fb79d693a96d36e6091051ab34a4f781a (patch)
tree2070ea131e7c090fe5414cb238a32a18114229f1 /Makefile.am
parentd9c9a980699dfe792f6f4de947ccdc600ce52886 (diff)
downloadrpm-575a851fb79d693a96d36e6091051ab34a4f781a.tar.gz
Fix preinstall.am handling for VPATH builds.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index edfae35b4..c025a150b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -391,11 +391,11 @@ maintainer-clean-local:
rm -rf doc/librpm/html
$(top_srcdir)/preinstall.am: Makefile.am
- rm -f preinstall.am
+ rm -f $(top_srcdir)/preinstall.am
@for f in $(HEADERS); do \
b=`basename $$f`; \
echo 'include/rpm/'$$b': '$$f include/rpm/$(dirstamp) >> $(top_srcdir)/preinstall.am;\
- echo ' $$(INSTALL_DATA) '$$f' include/rpm/'$$b >> $(top_srcdir)/preinstall.am; \
+ echo ' $$(INSTALL_DATA) '$(top_srcdir)/$$f' include/rpm/'$$b >> $(top_srcdir)/preinstall.am; \
echo 'BUILT_SOURCES += include/rpm/'$$b >> $(top_srcdir)/preinstall.am; \
echo 'CLEANFILES += include/rpm/'$$b >> $(top_srcdir)/preinstall.am; \
done