debian/control \
debian/control.modules.in \
debian/copyright \
+ debian/copyright.in \
debian/corekeeper.cron.daily \
debian/corekeeper.init \
debian/corekeeper.override \
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 \
debian/openvswitch-switch.postinst \
debian/openvswitch-switch.postrm \
debian/openvswitch-switch.template \
- 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
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