2012-05-02 15:21:36 -07:00
|
|
|
# Copyright (C) 2009, 2010, 2011, 2012 Nicira, Inc.
|
2011-06-21 13:00:22 -07:00
|
|
|
#
|
|
|
|
|
# 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 += \
|
2011-11-03 10:30:04 -07:00
|
|
|
rhel/README.RHEL \
|
2011-06-21 13:00:22 -07:00
|
|
|
rhel/automake.mk \
|
|
|
|
|
rhel/etc_init.d_openvswitch \
|
|
|
|
|
rhel/etc_logrotate.d_openvswitch \
|
2011-11-03 10:30:04 -07:00
|
|
|
rhel/etc_sysconfig_network-scripts_ifdown-ovs \
|
|
|
|
|
rhel/etc_sysconfig_network-scripts_ifup-ovs \
|
2011-06-21 13:00:22 -07:00
|
|
|
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 \
|
2013-03-30 18:32:25 -07:00
|
|
|
rhel/openvswitch-kmod.files \
|
2012-10-02 14:31:55 -04:00
|
|
|
rhel/openvswitch-kmod-fedora.spec \
|
|
|
|
|
rhel/openvswitch-kmod-fedora.spec.in \
|
2011-06-21 13:00:22 -07:00
|
|
|
rhel/openvswitch.spec \
|
|
|
|
|
rhel/openvswitch.spec.in \
|
2012-10-02 14:31:55 -04:00
|
|
|
rhel/openvswitch-fedora.spec \
|
|
|
|
|
rhel/openvswitch-fedora.spec.in \
|
|
|
|
|
rhel/usr_share_openvswitch_scripts_sysconfig.template \
|
|
|
|
|
rhel/usr_lib_systemd_system_openvswitch.service
|
2011-06-21 13:00:22 -07:00
|
|
|
|
2012-02-03 13:34:45 -08:00
|
|
|
update_rhel_spec = \
|
2011-08-25 10:18:47 -07:00
|
|
|
($(ro_shell) && sed -e 's,[@]VERSION[@],$(VERSION),g') \
|
|
|
|
|
< $(srcdir)/rhel/$(@F).in > $(@F).tmp || exit 1; \
|
|
|
|
|
if cmp -s $(@F).tmp $@; then touch $@; rm $(@F).tmp; else mv $(@F).tmp $@; fi
|
2011-06-21 13:00:22 -07:00
|
|
|
|
|
|
|
|
$(srcdir)/rhel/openvswitch-kmod-rhel5.spec: rhel/openvswitch-kmod-rhel5.spec.in $(top_builddir)/config.status
|
2012-02-03 13:34:45 -08:00
|
|
|
$(update_rhel_spec)
|
2011-06-21 13:00:22 -07:00
|
|
|
|
|
|
|
|
$(srcdir)/rhel/openvswitch-kmod-rhel6.spec: rhel/openvswitch-kmod-rhel6.spec.in $(top_builddir)/config.status
|
2012-02-03 13:34:45 -08:00
|
|
|
$(update_rhel_spec)
|
2011-06-21 13:00:22 -07:00
|
|
|
|
2012-10-02 14:31:55 -04:00
|
|
|
$(srcdir)/rhel/openvswitch-kmod-fedora.spec: rhel/openvswitch-kmod-fedora.spec.in $(top_builddir)/config.status
|
|
|
|
|
$(update_rhel_spec)
|
|
|
|
|
|
2011-06-21 13:00:22 -07:00
|
|
|
$(srcdir)/rhel/openvswitch.spec: rhel/openvswitch.spec.in $(top_builddir)/config.status
|
2012-02-03 13:34:45 -08:00
|
|
|
$(update_rhel_spec)
|
2012-10-02 14:31:55 -04:00
|
|
|
|
|
|
|
|
$(srcdir)/rhel/openvswitch-fedora.spec: rhel/openvswitch-fedora.spec.in $(top_builddir)/config.status
|
|
|
|
|
$(update_rhel_spec)
|