podwrapper: Add --license parameter, which is required.

This adds standard LICENSE and BUGS sections to all of the man pages
that are processed by podwrapper.

Modify all the calls to $(PODWRAPPER) to add the right --license
parameter according to the content.  Note that this relaxes the
license on some code example pages, making them effectively BSD-style
licensed.
This commit is contained in:
Richard W.M. Jones
2012-08-21 20:11:52 +01:00
parent f1d98bbc79
commit 2f97bf873b
25 changed files with 156 additions and 0 deletions

View File

@@ -124,6 +124,7 @@ stamp-guestfs-examples.pod: guestfs-examples.pod create_disk.c inspect_vm.c
--html $(top_builddir)/html/guestfs-examples.3.html \
--verbatim $(srcdir)/create_disk.c:@EXAMPLE1@ \
--verbatim $(srcdir)/inspect_vm.c:@EXAMPLE2@ \
--license examples \
$<
touch $@
@@ -134,6 +135,7 @@ stamp-guestfs-faq.pod: guestfs-faq.pod
--section 1 \
--man guestfs-faq.1 \
--html $(top_builddir)/html/guestfs-faq.1.html \
--license LGPLv2+ \
$<
touch $@
@@ -144,6 +146,7 @@ stamp-guestfs-performance.pod: guestfs-performance.pod
--section 1 \
--man guestfs-performance.1 \
--html $(top_builddir)/html/guestfs-performance.1.html \
--license LGPLv2+ \
$<
touch $@
@@ -154,6 +157,7 @@ stamp-guestfs-recipes.pod: guestfs-recipes.pod
--section 1 \
--man guestfs-recipes.1 \
--html $(top_builddir)/html/guestfs-recipes.1.html \
--license examples \
$<
touch $@
@@ -164,5 +168,6 @@ stamp-guestfs-testing.pod: guestfs-testing.pod
--section 1 \
--man guestfs-testing.1 \
--html $(top_builddir)/html/guestfs-testing.1.html \
--license LGPLv2+ \
$<
touch $@