diff options
author | Ralf Corsépius <corsepiu@fedoraproject.org> | 2007-11-22 17:19:38 +0100 |
---|---|---|
committer | Ralf Corsépius <corsepiu@fedoraproject.org> | 2007-11-22 17:19:38 +0100 |
commit | 575a851fb79d693a96d36e6091051ab34a4f781a (patch) | |
tree | 2070ea131e7c090fe5414cb238a32a18114229f1 /Makefile.am | |
parent | d9c9a980699dfe792f6f4de947ccdc600ce52886 (diff) | |
download | rpm-575a851fb79d693a96d36e6091051ab34a4f781a.tar.gz rpm-575a851fb79d693a96d36e6091051ab34a4f781a.tar.bz2 rpm-575a851fb79d693a96d36e6091051ab34a4f781a.zip |
Fix preinstall.am handling for VPATH builds.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 4 |
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 |