ovs-ofctl: Add support for drop_spoofed_arp action.
[openvswitch] / debian / automake.mk
index 5a23d46326fcd92b34d3c404c0c0fa23cea2146a..ba9ea861da7dbce57a2ac0aa3f130d26328e51e9 100644 (file)
@@ -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 \
@@ -50,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