summaryrefslogtreecommitdiffstats
path: root/contrib/crossrpms/cygwin
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2006-02-21 08:10:46 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2006-02-21 08:10:46 +0000
commit773ab4f2b21ea0241cccf2a95769550e3c3d8c3b (patch)
tree890fe08e705b787a8450850475d31bf93e1f782b /contrib/crossrpms/cygwin
parentInclude ../mkspec.am (diff)
downloadrtems-773ab4f2b21ea0241cccf2a95769550e3c3d8c3b.tar.bz2
Use $(MKSPEC) to generate *-libs.spec.
Diffstat (limited to 'contrib/crossrpms/cygwin')
-rw-r--r--contrib/crossrpms/cygwin/Makefile.am6
1 files changed, 1 insertions, 5 deletions
diff --git a/contrib/crossrpms/cygwin/Makefile.am b/contrib/crossrpms/cygwin/Makefile.am
index 1e8e28d638..ebc6271c3e 100644
--- a/contrib/crossrpms/cygwin/Makefile.am
+++ b/contrib/crossrpms/cygwin/Makefile.am
@@ -24,11 +24,7 @@ $(TARGET)-libs.spec.in: $(LIBS_SUBPACKAGES) Makefile.am
CLEANFILES += $(TARGET)-libs.spec.in
@rpmprefix@$(TARGET)-libs.spec: $(TARGET)-libs.spec.in
- sed \
- -e "s,[@]rpmprefix[@],$(rpmprefix),g" \
- -e "s,[@]_prefix[@],$(prefix),g" \
- -e "s/[@]tool_target[@]/$(TARGET)/g" \
- $(srcdir)/$(TARGET)-libs.spec.in > $@
+ $(MKSPEC) $(srcdir)/$(TARGET)-libs.spec.in > $@
CLEANFILES += @rpmprefix@$(TARGET)-libs.spec
noinst_DATA += @rpmprefix@$(TARGET)-libs.spec