]> git.proxmox.com Git - mirror_ovs.git/blobdiff - debian/automake.mk
openvswitch-switch.postinst: Replace tabs by spaces
[mirror_ovs.git] / debian / automake.mk
index dc18961a4361d818ab720bb78a24d0dbc9730d19..4d8e204bb211785b74869a5661e317657cf6cbd0 100644 (file)
@@ -5,32 +5,24 @@ EXTRA_DIST += \
        debian/control.modules.in \
        debian/copyright \
        debian/copyright.in \
-       debian/corekeeper.cron.daily \
-       debian/corekeeper.init \
-       debian/corekeeper.override \
+       debian/dkms.conf.in \
        debian/dirs \
+       debian/libopenvswitch.install \
+       debian/libopenvswitch-dev.install \
        debian/openvswitch-common.dirs \
+       debian/openvswitch-common.docs \
        debian/openvswitch-common.install \
        debian/openvswitch-common.manpages \
-       debian/openvswitch-controller.README.Debian \
-       debian/openvswitch-controller.default \
-       debian/openvswitch-controller.dirs \
-       debian/openvswitch-controller.init \
-       debian/openvswitch-controller.install \
-       debian/openvswitch-controller.manpages \
-       debian/openvswitch-controller.postinst \
        debian/openvswitch-datapath-module-_KVERS_.postinst.modules.in \
+       debian/openvswitch-datapath-dkms.postinst \
+       debian/openvswitch-datapath-dkms.prerm \
        debian/openvswitch-datapath-source.README.Debian \
        debian/openvswitch-datapath-source.copyright \
        debian/openvswitch-datapath-source.dirs \
        debian/openvswitch-datapath-source.install \
-       debian/openvswitch-pki-server.apache2 \
-       debian/openvswitch-pki-server.dirs \
-       debian/openvswitch-pki-server.install \
-       debian/openvswitch-pki-server.postinst \
+       debian/openvswitch-pki.dirs \
        debian/openvswitch-pki.postinst \
-       debian/openvswitch-python.dirs \
-       debian/openvswitch-python.install \
+       debian/openvswitch-pki.postrm \
        debian/openvswitch-switch.README.Debian \
        debian/openvswitch-switch.dirs \
        debian/openvswitch-switch.init \
@@ -40,26 +32,70 @@ EXTRA_DIST += \
        debian/openvswitch-switch.postinst \
        debian/openvswitch-switch.postrm \
        debian/openvswitch-switch.template \
-       debian/ovs-bugtool \
+       debian/openvswitch-switch.links \
+       debian/openvswitch-test.dirs \
+       debian/openvswitch-test.install \
+       debian/openvswitch-test.manpages \
+       debian/openvswitch-testcontroller.README.Debian \
+       debian/openvswitch-testcontroller.default \
+       debian/openvswitch-testcontroller.dirs \
+       debian/openvswitch-testcontroller.init \
+       debian/openvswitch-testcontroller.install \
+       debian/openvswitch-testcontroller.manpages \
+       debian/openvswitch-testcontroller.postinst \
+       debian/openvswitch-testcontroller.postrm \
+       debian/openvswitch-vtep.default \
+       debian/openvswitch-vtep.dirs \
+       debian/openvswitch-vtep.init \
+       debian/openvswitch-vtep.install \
+       debian/openvswitch-vtep.manpages \
+       debian/ovn-central.dirs \
+       debian/ovn-central.init \
+       debian/ovn-central.install \
+       debian/ovn-central.manpages \
+       debian/ovn-central.postinst \
+       debian/ovn-central.postrm \
+       debian/ovn-central.template \
+       debian/ovn-controller-vtep.init \
+       debian/ovn-controller-vtep.install \
+       debian/ovn-controller-vtep.manpages \
+       debian/ovn-common.install \
+       debian/ovn-common.manpages \
+       debian/ovn-common.postinst \
+       debian/ovn-common.postrm \
+       debian/ovn-docker.install \
+       debian/ovn-host.dirs \
+       debian/ovn-host.init \
+       debian/ovn-host.install \
+       debian/ovn-host.manpages \
+       debian/ovn-host.postinst \
+       debian/ovn-host.postrm \
+       debian/ovn-host.template \
+       debian/python-openvswitch.dirs \
+       debian/python-openvswitch.install \
        debian/rules \
-       debian/rules.modules
+       debian/rules.modules \
+       debian/ifupdown.sh \
+       debian/source/format
 
 check-debian-changelog-version:
-       @if $(FGREP) '($(VERSION))' $(srcdir)/debian/changelog >/dev/null; \
-       then                                                               \
-         :;                                                               \
-       else                                                               \
-         echo "Update debian/changelog to mention version $(VERSION)";    \
-         exit 1;                                                          \
+       @DEB_VERSION=`echo '$(VERSION)' | sed 's/pre/~pre/'`;                \
+       if $(FGREP) '($(DEB_VERSION)' $(srcdir)/debian/changelog >/dev/null; \
+       then                                                                 \
+         :;                                                                 \
+       else                                                                 \
+         echo "Update debian/changelog to mention version $(VERSION)";      \
+         exit 1;                                                            \
        fi
 ALL_LOCAL += check-debian-changelog-version
 DIST_HOOKS += check-debian-changelog-version
 
-$(srcdir)/debian/copyright: AUTHORS debian/copyright.in
+$(srcdir)/debian/copyright: AUTHORS.rst debian/copyright.in
+       $(AM_V_GEN) \
        { sed -n -e '/%AUTHORS%/q' -e p < $(srcdir)/debian/copyright.in;   \
-         sed '1,/^$$/d' $(srcdir)/AUTHORS |                               \
+         sed '34,/^$$/d' $(srcdir)/AUTHORS.rst |                          \
                sed -n -e '/^$$/q' -e 's/^/  /p';                          \
-         sed -e '1,/%AUTHORS%/d' $(srcdir)/debian/copyright.in;           \
+         sed -e '34,/%AUTHORS%/d' $(srcdir)/debian/copyright.in;          \
        } > $@
 
-DISTCLEANFILES += debian/copyright
+CLEANFILES += debian/copyright