X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=xenserver%2Fautomake.mk;h=cb6016fba3cea150b423e632a7a0433d0a6b4574;hb=c473936b9af693ad88907e739013f34d9c70860d;hp=b3fab0c78b19e1a75bd2cf75fe4698685b9067a5;hpb=0b813a372f67858e1422a832cc922f10d5149f93;p=sliver-openvswitch.git diff --git a/xenserver/automake.mk b/xenserver/automake.mk index b3fab0c78..cb6016fba 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 Nicira Networks, Inc. # # Copying and distribution of this file, with or without modification, # are permitted in any medium without royalty provided the copyright @@ -15,18 +15,18 @@ EXTRA_DIST += \ xenserver/etc_logrotate.d_openvswitch \ xenserver/etc_profile.d_openvswitch.sh \ xenserver/etc_xapi.d_plugins_openvswitch-cfg-update \ - xenserver/etc_xensource_bugtool_network-status_openvswitch.xml \ - xenserver/etc_xensource_bugtool_kernel-info_openvswitch.xml \ - xenserver/etc_xensource_bugtool_system-configuration.xml \ - xenserver/etc_xensource_bugtool_system-configuration_openvswitch.xml \ 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_share_openvswitch_scripts_ovs-xapi-sync \ - xenserver/usr_share_openvswitch_scripts_sysconfig.template \ - xenserver/usr_share_openvswitch_scripts_xen-bugtool-tc-class-show \ - xenserver/uuid.py + xenserver/usr_share_openvswitch_scripts_sysconfig.template + +$(srcdir)/xenserver/openvswitch-xen.spec: xenserver/openvswitch-xen.spec.in $(top_builddir)/config.status + ($(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