rhel: Fix use of $< in ordinary Make rules.
[sliver-openvswitch.git] / rhel / automake.mk
1 # Copyright (C) 2009, 2010, 2011 Nicira Networks, Inc.
2 #
3 # Copying and distribution of this file, with or without modification,
4 # are permitted in any medium without royalty provided the copyright
5 # notice and this notice are preserved.  This file is offered as-is,
6 # without warranty of any kind.
7
8 EXTRA_DIST += \
9         rhel/automake.mk \
10         rhel/etc_init.d_openvswitch \
11         rhel/etc_logrotate.d_openvswitch \
12         rhel/kmodtool-openvswitch-el5.sh \
13         rhel/openvswitch-kmod-rhel5.spec \
14         rhel/openvswitch-kmod-rhel5.spec.in \
15         rhel/openvswitch-kmod-rhel6.spec \
16         rhel/openvswitch-kmod-rhel6.spec.in \
17         rhel/openvswitch.spec \
18         rhel/openvswitch.spec.in \
19         rhel/usr_share_openvswitch_scripts_sysconfig.template
20
21
22 $(srcdir)/rhel/openvswitch-kmod-rhel5.spec: rhel/openvswitch-kmod-rhel5.spec.in $(top_builddir)/config.status
23         ($(ro_shell) && sed -e 's,[@]VERSION[@],$(VERSION),g') \
24                 < $(srcdir)/rhel/openvswitch-kmod-rhel5.spec.in > $@
25
26 $(srcdir)/rhel/openvswitch-kmod-rhel6.spec: rhel/openvswitch-kmod-rhel6.spec.in $(top_builddir)/config.status
27         ($(ro_shell) && sed -e 's,[@]VERSION[@],$(VERSION),g') \
28                 < $(srcdir)/rhel/openvswitch-kmod-rhel6.spec.in > $@
29
30 $(srcdir)/rhel/openvswitch.spec: rhel/openvswitch.spec.in $(top_builddir)/config.status
31         ($(ro_shell) && sed -e 's,[@]VERSION[@],$(VERSION),g') \
32                 < $(srcdir)/rhel/openvswitch.spec.in > $@