X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=rhel%2Fautomake.mk;h=3bdc4cedf976f1984998371c18449364973cc3eb;hb=3214851c31538e8690e31f95702f8927a8c0838b;hp=36825410965210b6624672f857305bc3737b49c5;hpb=0fb426263e7834f7403eefd860cf5d36d43f8c45;p=sliver-openvswitch.git diff --git a/rhel/automake.mk b/rhel/automake.mk index 368254109..3bdc4cedf 100644 --- a/rhel/automake.mk +++ b/rhel/automake.mk @@ -1,4 +1,4 @@ -# Copyright (C) 2009, 2010, 2011 Nicira Networks, Inc. +# Copyright (C) 2009, 2010, 2011, 2012 Nicira, Inc. # # Copying and distribution of this file, with or without modification, # are permitted in any medium without royalty provided the copyright @@ -17,20 +17,31 @@ EXTRA_DIST += \ rhel/openvswitch-kmod-rhel5.spec.in \ rhel/openvswitch-kmod-rhel6.spec \ rhel/openvswitch-kmod-rhel6.spec.in \ + rhel/openvswitch-kmod-fedora.spec \ + rhel/openvswitch-kmod-fedora.spec.in \ rhel/openvswitch.spec \ rhel/openvswitch.spec.in \ - rhel/usr_share_openvswitch_scripts_sysconfig.template + rhel/openvswitch-fedora.spec \ + rhel/openvswitch-fedora.spec.in \ + rhel/usr_share_openvswitch_scripts_sysconfig.template \ + rhel/usr_lib_systemd_system_openvswitch.service -update_spec = \ +update_rhel_spec = \ ($(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 $(srcdir)/rhel/openvswitch-kmod-rhel5.spec: rhel/openvswitch-kmod-rhel5.spec.in $(top_builddir)/config.status - $(update_spec) + $(update_rhel_spec) $(srcdir)/rhel/openvswitch-kmod-rhel6.spec: rhel/openvswitch-kmod-rhel6.spec.in $(top_builddir)/config.status - $(update_spec) + $(update_rhel_spec) + +$(srcdir)/rhel/openvswitch-kmod-fedora.spec: rhel/openvswitch-kmod-fedora.spec.in $(top_builddir)/config.status + $(update_rhel_spec) $(srcdir)/rhel/openvswitch.spec: rhel/openvswitch.spec.in $(top_builddir)/config.status - $(update_spec) + $(update_rhel_spec) + +$(srcdir)/rhel/openvswitch-fedora.spec: rhel/openvswitch-fedora.spec.in $(top_builddir)/config.status + $(update_rhel_spec)