X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=debian%2Fautomake.mk;h=7c73831a2ae8fa951b06587fddf2a312ca10076f;hb=494e43a517694cff1ca6304f6456ba0edbb924e2;hp=813987e73a721515dc928841e654bcd9f739f45e;hpb=064af42167bf4fc9aaea2702d80ce08074b889c0;p=openvswitch diff --git a/debian/automake.mk b/debian/automake.mk index 813987e7..7c73831a 100644 --- a/debian/automake.mk +++ b/debian/automake.mk @@ -1,16 +1,14 @@ EXTRA_DIST += \ debian/changelog \ - debian/commands/reconfigure \ - debian/commands/update \ debian/compat \ debian/control \ debian/control.modules.in \ debian/copyright \ + debian/copyright.in \ debian/corekeeper.cron.daily \ debian/corekeeper.init \ + debian/corekeeper.override \ debian/dirs \ - debian/ovs-switch-setup \ - debian/ovs-switch-setup.8 \ debian/openvswitch-common.dirs \ debian/openvswitch-common.install \ debian/openvswitch-common.manpages \ @@ -26,16 +24,14 @@ EXTRA_DIST += \ debian/openvswitch-datapath-source.copyright \ debian/openvswitch-datapath-source.dirs \ debian/openvswitch-datapath-source.install \ + debian/openvswitch-ipsec.dirs \ + debian/openvswitch-ipsec.init \ + debian/openvswitch-ipsec.install \ debian/openvswitch-pki-server.apache2 \ debian/openvswitch-pki-server.dirs \ debian/openvswitch-pki-server.install \ debian/openvswitch-pki-server.postinst \ debian/openvswitch-pki.postinst \ - debian/openvswitch-switch-config.dirs \ - debian/openvswitch-switch-config.install \ - debian/openvswitch-switch-config.manpages \ - debian/openvswitch-switch-config.overrides \ - debian/openvswitch-switch-config.templates \ debian/openvswitch-switch.README.Debian \ debian/openvswitch-switch.dirs \ debian/openvswitch-switch.init \ @@ -45,6 +41,30 @@ EXTRA_DIST += \ debian/openvswitch-switch.postinst \ debian/openvswitch-switch.postrm \ debian/openvswitch-switch.template \ - debian/po/POTFILES.in \ - debian/po/templates.pot \ - debian/rules + debian/ovs-bugtool \ + debian/ovs-bugtool.8 \ + debian/ovs-monitor-ipsec \ + debian/python-openvswitch.dirs \ + debian/python-openvswitch.install \ + debian/rules \ + debian/rules.modules + +check-debian-changelog-version: + @if $(FGREP) '($(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 + { sed -n -e '/%AUTHORS%/q' -e p < $(srcdir)/debian/copyright.in; \ + sed '1,/^$$/d' $(srcdir)/AUTHORS | \ + sed -n -e '/^$$/q' -e 's/^/ /p'; \ + sed -e '1,/%AUTHORS%/d' $(srcdir)/debian/copyright.in; \ + } > $@ + +DISTCLEANFILES += debian/copyright