X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=debian%2Fautomake.mk;h=ba9ea861da7dbce57a2ac0aa3f130d26328e51e9;hb=933df876ffa272d9d5768edf7fc5465261888ad2;hp=f8f91df68efaa335cd7a619b680c19a25d4438f5;hpb=3becd6c845c7d507623506795a809888f7091479;p=openvswitch diff --git a/debian/automake.mk b/debian/automake.mk index f8f91df6..ba9ea861 100644 --- a/debian/automake.mk +++ b/debian/automake.mk @@ -4,6 +4,7 @@ EXTRA_DIST += \ debian/control \ debian/control.modules.in \ debian/copyright \ + debian/copyright.in \ debian/corekeeper.cron.daily \ debian/corekeeper.init \ debian/corekeeper.override \ @@ -23,20 +24,11 @@ EXTRA_DIST += \ debian/openvswitch-datapath-source.copyright \ debian/openvswitch-datapath-source.dirs \ debian/openvswitch-datapath-source.install \ - debian/openvswitch-monitor.default \ - debian/openvswitch-monitor.dirs \ - debian/openvswitch-monitor.init \ - debian/openvswitch-monitor.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 \ @@ -46,20 +38,6 @@ EXTRA_DIST += \ debian/openvswitch-switch.postinst \ debian/openvswitch-switch.postrm \ debian/openvswitch-switch.template \ - debian/openvswitch-switchui.copyright \ - debian/openvswitch-switchui.default \ - debian/openvswitch-switchui.dirs \ - debian/openvswitch-switchui.init \ - debian/openvswitch-switchui.install \ - debian/openvswitch-wdt.default \ - debian/openvswitch-wdt.dirs \ - debian/openvswitch-wdt.init \ - debian/openvswitch-wdt.install \ - debian/ovs-switch-setup \ - debian/ovs-switch-setup.8 \ - debian/po/POTFILES.in \ - debian/po/templates.pot \ - debian/reconfigure \ debian/rules \ debian/rules.modules @@ -73,3 +51,12 @@ check-debian-changelog-version: 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