summaryrefslogtreecommitdiff
path: root/rhel/automake.mk
blob: 34abe5b9db3df12ab2e5d81ed6aa23fc680313d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Copyright (C) 2009, 2010, 2011 Nicira Networks, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
# notice and this notice are preserved.  This file is offered as-is,
# without warranty of any kind.

EXTRA_DIST += \
	rhel/automake.mk \
	rhel/etc_init.d_openvswitch \
	rhel/etc_logrotate.d_openvswitch \
	rhel/kmodtool-openvswitch-el5.sh \
	rhel/openvswitch-kmod-rhel5.spec \
	rhel/openvswitch-kmod-rhel5.spec.in \
	rhel/openvswitch-kmod-rhel6.spec \
	rhel/openvswitch-kmod-rhel6.spec.in \
	rhel/openvswitch.spec \
	rhel/openvswitch.spec.in \
	rhel/usr_share_openvswitch_scripts_sysconfig.template


$(srcdir)/rhel/openvswitch-kmod-rhel5.spec: rhel/openvswitch-kmod-rhel5.spec.in $(top_builddir)/config.status
	($(ro_shell) && sed -e 's,[@]VERSION[@],$(VERSION),g') \
		< $(srcdir)/rhel/openvswitch-kmod-rhel5.spec.in > $@

$(srcdir)/rhel/openvswitch-kmod-rhel6.spec: rhel/openvswitch-kmod-rhel6.spec.in $(top_builddir)/config.status
	($(ro_shell) && sed -e 's,[@]VERSION[@],$(VERSION),g') \
		< $(srcdir)/rhel/openvswitch-kmod-rhel6.spec.in > $@

$(srcdir)/rhel/openvswitch.spec: rhel/openvswitch.spec.in $(top_builddir)/config.status
	($(ro_shell) && sed -e 's,[@]VERSION[@],$(VERSION),g') \
		< $(srcdir)/rhel/openvswitch.spec.in > $@