[libvirt] [PATCHv2 1/2] maint: add missing copyright notices

Eric Blake eblake at redhat.com
Thu Jul 28 19:32:03 UTC 2011


I went with the shorter license notice used by src/libvirt.c,
rather than spelling out the full LGPLv2+ clause into each of
these files.

* configure.ac: Declare copyright.
* all Makefile.am: Likewise.
---

Noticed while reviewing Matthias' patch.  Almost trivial enough
to push in isolation, but I'll wait for the review.

 Makefile.am                                 |    3 +++
 configure.ac                                |    3 +++
 daemon/Makefile.am                          |    3 +++
 docs/Makefile.am                            |    4 ++++
 docs/schemas/Makefile.am                    |    3 ++-
 examples/apparmor/Makefile.am               |    3 +++
 examples/domain-events/events-c/Makefile.am |    3 +++
 examples/dominfo/Makefile.am                |    2 ++
 examples/domsuspend/Makefile.am             |    2 ++
 examples/hellolibvirt/Makefile.am           |    3 +++
 examples/openauth/Makefile.am               |    3 +++
 examples/python/Makefile.am                 |    3 +++
 examples/systemtap/Makefile.am              |    2 ++
 examples/xml/nwfilter/Makefile.am           |    2 ++
 include/Makefile.am                         |    4 ++++
 include/libvirt/Makefile.am                 |    3 +++
 python/Makefile.am                          |    3 +++
 python/tests/Makefile.am                    |    3 +++
 src/Makefile.am                             |    3 +++
 tests/Makefile.am                           |    3 +++
 tools/Makefile.am                           |    2 ++
 21 files changed, 59 insertions(+), 1 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 49e42bf..75cff8d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,5 +1,8 @@
 ## Process this file with automake to produce Makefile.in

+## Copyright (C) 2005-2011 Red Hat, Inc.
+## See COPYING.LIB for the License of this software
+
 LCOV = lcov
 GENHTML = genhtml

diff --git a/configure.ac b/configure.ac
index ac34efc..36037e5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,8 @@
 dnl Process this file with autoconf to produce a configure script.

+dnl Copyright (C) 2005-2011 Red Hat, Inc.
+dnl See COPYING.LIB for the License of this software
+
 AC_INIT([libvirt], [0.9.3], [libvir-list at redhat.com], [], [http://libvirt.org])
 AC_CONFIG_SRCDIR([src/libvirt.c])
 AC_CONFIG_AUX_DIR([build-aux])
diff --git a/daemon/Makefile.am b/daemon/Makefile.am
index 63c731e..65ac8e9 100644
--- a/daemon/Makefile.am
+++ b/daemon/Makefile.am
@@ -1,5 +1,8 @@
 ## Process this file with automake to produce Makefile.in

+## Copyright (C) 2005-2011 Red Hat, Inc.
+## See COPYING.LIB for the License of this software
+
 CLEANFILES =

 DAEMON_GENERATED =					\
diff --git a/docs/Makefile.am b/docs/Makefile.am
index de649fe..50a199f 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -1,4 +1,8 @@
 ## Process this file with automake to produce Makefile.in
+
+## Copyright (C) 2005-2011 Red Hat, Inc.
+## See COPYING.LIB for the License of this software
+
 SUBDIRS= schemas

 PERL = perl
diff --git a/docs/schemas/Makefile.am b/docs/schemas/Makefile.am
index 75a0e73..596c207 100644
--- a/docs/schemas/Makefile.am
+++ b/docs/schemas/Makefile.am
@@ -1,4 +1,5 @@
-
+## Copyright (C) 2005-2011 Red Hat, Inc.
+## See COPYING.LIB for the License of this software

 schemadir = $(pkgdatadir)/schemas
 schema_DATA = \
diff --git a/examples/apparmor/Makefile.am b/examples/apparmor/Makefile.am
index b72bbe1..0bc66ac 100644
--- a/examples/apparmor/Makefile.am
+++ b/examples/apparmor/Makefile.am
@@ -1,3 +1,6 @@
+## Copyright (C) 2005-2011 Red Hat, Inc.
+## See COPYING.LIB for the License of this software
+
 EXTRA_DIST=				\
 	TEMPLATE			\
 	libvirt-qemu			\
diff --git a/examples/domain-events/events-c/Makefile.am b/examples/domain-events/events-c/Makefile.am
index 176892b..2bcbca0 100644
--- a/examples/domain-events/events-c/Makefile.am
+++ b/examples/domain-events/events-c/Makefile.am
@@ -1,3 +1,6 @@
+## Copyright (C) 2005-2011 Red Hat, Inc.
+## See COPYING.LIB for the License of this software
+
 INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include \
 	   -I$(top_builddir)/gnulib/lib -I$(top_srcdir)/gnulib/lib
 noinst_PROGRAMS = event-test
diff --git a/examples/dominfo/Makefile.am b/examples/dominfo/Makefile.am
index 678de68..07982b0 100644
--- a/examples/dominfo/Makefile.am
+++ b/examples/dominfo/Makefile.am
@@ -1,3 +1,5 @@
+## Copyright (C) 2005-2011 Red Hat, Inc.
+## See COPYING.LIB for the License of this software

 INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I at srcdir@/include
 LDADDS = $(STATIC_BINARIES) $(WARN_CFLAGS) $(top_builddir)/src/libvirt.la \
diff --git a/examples/domsuspend/Makefile.am b/examples/domsuspend/Makefile.am
index 2c277a4..fc5e931 100644
--- a/examples/domsuspend/Makefile.am
+++ b/examples/domsuspend/Makefile.am
@@ -1,3 +1,5 @@
+## Copyright (C) 2005-2011 Red Hat, Inc.
+## See COPYING.LIB for the License of this software

 INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I at srcdir@/include
 LDADDS = $(STATIC_BINARIES) $(WARN_CFLAGS) $(top_builddir)/src/libvirt.la \
diff --git a/examples/hellolibvirt/Makefile.am b/examples/hellolibvirt/Makefile.am
index 8d108a7..a55fe19 100644
--- a/examples/hellolibvirt/Makefile.am
+++ b/examples/hellolibvirt/Makefile.am
@@ -1,3 +1,6 @@
+## Copyright (C) 2005-2011 Red Hat, Inc.
+## See COPYING.LIB for the License of this software
+
 INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include
 noinst_PROGRAMS = hellolibvirt
 hellolibvirt_CFLAGS = $(WARN_CFLAGS)
diff --git a/examples/openauth/Makefile.am b/examples/openauth/Makefile.am
index 279a032..844b572 100644
--- a/examples/openauth/Makefile.am
+++ b/examples/openauth/Makefile.am
@@ -1,3 +1,6 @@
+## Copyright (C) 2005-2011 Red Hat, Inc.
+## See COPYING.LIB for the License of this software
+
 INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include
 noinst_PROGRAMS = openauth
 openauth_CFLAGS = $(WARN_CFLAGS)
diff --git a/examples/python/Makefile.am b/examples/python/Makefile.am
index dcd2c24..d782a28 100644
--- a/examples/python/Makefile.am
+++ b/examples/python/Makefile.am
@@ -1,3 +1,6 @@
+## Copyright (C) 2005-2011 Red Hat, Inc.
+## See COPYING.LIB for the License of this software
+
 EXTRA_DIST=						\
 	README						\
 	dominfo.py domrestore.py domsave.py domstart.py esxlist.py
diff --git a/examples/systemtap/Makefile.am b/examples/systemtap/Makefile.am
index 084081e..6eb0546 100644
--- a/examples/systemtap/Makefile.am
+++ b/examples/systemtap/Makefile.am
@@ -1,2 +1,4 @@
+## Copyright (C) 2005-2011 Red Hat, Inc.
+## See COPYING.LIB for the License of this software

 EXTRA_DIST = client.stp
diff --git a/examples/xml/nwfilter/Makefile.am b/examples/xml/nwfilter/Makefile.am
index 439e7b8..23fd753 100644
--- a/examples/xml/nwfilter/Makefile.am
+++ b/examples/xml/nwfilter/Makefile.am
@@ -1,3 +1,5 @@
+## Copyright (C) 2005-2011 Red Hat, Inc.
+## See COPYING.LIB for the License of this software

 FILTERS = \
 	allow-arp.xml \
diff --git a/include/Makefile.am b/include/Makefile.am
index d075971..426762c 100644
--- a/include/Makefile.am
+++ b/include/Makefile.am
@@ -1,2 +1,6 @@
 ## Process this file with automake to produce Makefile.in
+
+## Copyright (C) 2005-2011 Red Hat, Inc.
+## See COPYING.LIB for the License of this software
+
 SUBDIRS=libvirt
diff --git a/include/libvirt/Makefile.am b/include/libvirt/Makefile.am
index b2c2b76..8f36ae8 100644
--- a/include/libvirt/Makefile.am
+++ b/include/libvirt/Makefile.am
@@ -1,5 +1,8 @@
 ## Process this file with automake to produce Makefile.in

+## Copyright (C) 2005-2011 Red Hat, Inc.
+## See COPYING.LIB for the License of this software
+
 virincdir = $(includedir)/libvirt

 virinc_HEADERS = libvirt.h		\
diff --git a/python/Makefile.am b/python/Makefile.am
index 51f005d..0e14d23 100644
--- a/python/Makefile.am
+++ b/python/Makefile.am
@@ -1,5 +1,8 @@
 # Makefile for libvirt python library

+## Copyright (C) 2005-2011 Red Hat, Inc.
+## See COPYING.LIB for the License of this software
+
 SUBDIRS= . tests

 INCLUDES = \
diff --git a/python/tests/Makefile.am b/python/tests/Makefile.am
index 28e24ba..2a5bc62 100644
--- a/python/tests/Makefile.am
+++ b/python/tests/Makefile.am
@@ -1,3 +1,6 @@
+## Copyright (C) 2005-2011 Red Hat, Inc.
+## See COPYING.LIB for the License of this software
+
 EXAMPLE_DIR = $(datadir)/doc/libvirt-python-$(LIBVIRT_VERSION)/examples

 PYTESTS=		\
diff --git a/src/Makefile.am b/src/Makefile.am
index 46b92a8..00307fa 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,5 +1,8 @@
 ## Process this file with automake to produce Makefile.in

+## Copyright (C) 2005-2011 Red Hat, Inc.
+## See COPYING.LIB for the License of this software
+
 # No libraries with the exception of LIBXML should be listed
 # here. List them against the individual XXX_la_CFLAGS targets
 # that actually use them
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 872aa22..1560ac1 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,5 +1,8 @@
 ## Process this file with automake to produce Makefile.in

+## Copyright (C) 2005-2011 Red Hat, Inc.
+## See COPYING.LIB for the License of this software
+
 SHELL = $(PREFERABLY_POSIX_SHELL)

 INCLUDES = \
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 62c275e..66d4ed2 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -1,3 +1,5 @@
+## Copyright (C) 2005-2011 Red Hat, Inc.
+## See COPYING.LIB for the License of this software

 POD2MAN = pod2man -c "Virtualization Support" -r "$(PACKAGE)-$(VERSION)"

-- 
1.7.4.4




More information about the libvir-list mailing list