X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=xenserver%2Fautomake.mk;h=1f75e3a9414f4b36b9ca1c6471c4815ec7cc4b30;hb=HEAD;hp=fc23a7636c38ebee06ed1469b79291c4d5afdcde;hpb=69c675a07271d6b4b9bfd9ed49ac354f7af24613;p=cascardo%2Fovs.git diff --git a/xenserver/automake.mk b/xenserver/automake.mk index fc23a7636..1f75e3a94 100644 --- a/xenserver/automake.mk +++ b/xenserver/automake.mk @@ -1,4 +1,4 @@ -# Copyright (C) 2009, 2010 Nicira Networks, Inc. +# Copyright (C) 2009, 2010, 2011, 2012, 2014 Nicira, Inc. # # Copying and distribution of this file, with or without modification, # are permitted in any medium without royalty provided the copyright @@ -17,14 +17,19 @@ EXTRA_DIST += \ xenserver/etc_xapi.d_plugins_openvswitch-cfg-update \ xenserver/etc_xensource_scripts_vif \ xenserver/openvswitch-xen.spec \ + xenserver/openvswitch-xen.spec.in \ xenserver/opt_xensource_libexec_InterfaceReconfigure.py \ xenserver/opt_xensource_libexec_InterfaceReconfigureBridge.py \ xenserver/opt_xensource_libexec_InterfaceReconfigureVswitch.py \ xenserver/opt_xensource_libexec_interface-reconfigure \ xenserver/usr_lib_xsconsole_plugins-base_XSFeatureVSwitch.py \ - xenserver/usr_sbin_brctl \ - xenserver/usr_sbin_xen-bugtool \ - xenserver/usr_share_openvswitch_scripts_ovs-external-ids \ - xenserver/usr_share_openvswitch_scripts_refresh-xs-network-uuids \ - xenserver/usr_share_openvswitch_scripts_sysconfig.template \ - xenserver/uuid.py + xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync \ + xenserver/usr_share_openvswitch_scripts_sysconfig.template + +FLAKE8_PYFILES += \ + xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync + +$(srcdir)/xenserver/openvswitch-xen.spec: xenserver/openvswitch-xen.spec.in $(top_builddir)/config.status + $(AM_V_GEN)($(ro_shell) && sed -e 's,[@]VERSION[@],$(VERSION),g') \ + < $(srcdir)/xenserver/$(@F).in > $(@F).tmp || exit 1; \ + if cmp -s $(@F).tmp $@; then touch $@; rm $(@F).tmp; else mv $(@F).tmp $@; fi