diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2006-07-21 04:36:14 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2006-07-21 04:36:14 +0000 |
commit | e8ba788ed2d4234582e1dd82c3c87906f6eb7881 (patch) | |
tree | 33a1f58e590d59450916db5967eee2b4a2bd5edd /contrib/crossrpms/Makefile.am | |
parent | Add objc. (diff) | |
download | rtems-e8ba788ed2d4234582e1dd82c3c87906f6eb7881.tar.bz2 |
Add install-patches.
Diffstat (limited to 'contrib/crossrpms/Makefile.am')
-rw-r--r-- | contrib/crossrpms/Makefile.am | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/crossrpms/Makefile.am b/contrib/crossrpms/Makefile.am index 0bdf048792..c4dd07467d 100644 --- a/contrib/crossrpms/Makefile.am +++ b/contrib/crossrpms/Makefile.am @@ -16,3 +16,9 @@ DIST_SUBDIRS += rtems4.7 EXTRA_DIST += specstrip EXTRA_DIST += $(srcdir)/patches/*.diff + +install-patches: + rpmsourcedir=`rpm --eval '%_sourcedir'`; \ + for f in $(srcdir)/patches/*.diff; do \ + $(INSTALL_DATA) $$f $$rpmsourcedir; \ + done |