diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-08-28 13:15:29 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-08-28 13:18:47 +0100 |
commit | ddc67d94f37ca4e942cb385d4e5ec476766fef12 (patch) | |
tree | 31b78318cae79c36ef2caf126685f62b9cf1ea58 /po-docs | |
parent | 540fbfcf34089e2baeea9c94a850cdea0c0db903 (diff) | |
download | libguestfs-ddc67d94f37ca4e942cb385d4e5ec476766fef12.tar.gz libguestfs-ddc67d94f37ca4e942cb385d4e5ec476766fef12.tar.xz libguestfs-ddc67d94f37ca4e942cb385d4e5ec476766fef12.zip |
po-docs: Fix podwrapper so it works on translated POD files.
These don't contain literal strings like "AUTHORS" (they have the
translated versions instead) and so checking for these English strings
is rather useless.
Also we don't usually have the '--license' parameter conveniently
around so don't enforce this section.
Diffstat (limited to 'po-docs')
-rw-r--r-- | po-docs/ja/Makefile.am | 25 | ||||
-rw-r--r-- | po-docs/uk/Makefile.am | 25 |
2 files changed, 44 insertions, 6 deletions
diff --git a/po-docs/ja/Makefile.am b/po-docs/ja/Makefile.am index 52184023..c4c8b487 100644 --- a/po-docs/ja/Makefile.am +++ b/po-docs/ja/Makefile.am @@ -58,8 +58,10 @@ all-local: $(MANPAGES) guestfs.3: guestfs.pod guestfs-actions.pod guestfs-availability.pod guestfs-structs.pod $(PODWRAPPER) \ - --section 3 \ + --no-strict-checks \ --man $@ \ + --section 3 \ + --license LGPLv2+ \ --insert $(srcdir)/guestfs-actions.pod:@ACTIONS@ \ --insert $(srcdir)/guestfs-availability.pod:@AVAILABILITY@ \ --insert $(srcdir)/guestfs-structs.pod:@STRUCTS@ \ @@ -67,23 +69,40 @@ guestfs.3: guestfs.pod guestfs-actions.pod guestfs-availability.pod guestfs-stru guestfish.1: guestfish.pod guestfish-actions.pod guestfish-commands.pod $(PODWRAPPER) \ + --no-strict-checks \ --man $@ \ + --license GPLv2+ \ --insert $(srcdir)/guestfish-actions.pod:@ACTIONS@ \ --insert $(srcdir)/guestfish-commands.pod:@FISH_COMMANDS@ \ $< virt-sysprep.1: virt-sysprep.pod sysprep-extra-options.pod sysprep-operations.pod $(PODWRAPPER) \ + --no-strict-checks \ --man $@ \ + --license GPLv2+ \ --insert sysprep-extra-options.pod:@EXTRA_OPTIONS@ \ --insert sysprep-operations.pod:@OPERATIONS@ \ $< %.1: %.pod - $(PODWRAPPER) --man $@ $< + $(PODWRAPPER) \ + --no-strict-checks \ + --man $@ \ + $< + +%.3: %.pod + $(PODWRAPPER) \ + --no-strict-checks \ + --man $@ \ + --section 3 \ + $< %.1: %.pl - $(PODWRAPPER) --man $@ $< + $(PODWRAPPER) \ + --no-strict-checks \ + --man $@ \ + $< # Ensure that the first time we build from git, since guestfs.pod # hasn't been built yet, build it. diff --git a/po-docs/uk/Makefile.am b/po-docs/uk/Makefile.am index 52184023..c4c8b487 100644 --- a/po-docs/uk/Makefile.am +++ b/po-docs/uk/Makefile.am @@ -58,8 +58,10 @@ all-local: $(MANPAGES) guestfs.3: guestfs.pod guestfs-actions.pod guestfs-availability.pod guestfs-structs.pod $(PODWRAPPER) \ - --section 3 \ + --no-strict-checks \ --man $@ \ + --section 3 \ + --license LGPLv2+ \ --insert $(srcdir)/guestfs-actions.pod:@ACTIONS@ \ --insert $(srcdir)/guestfs-availability.pod:@AVAILABILITY@ \ --insert $(srcdir)/guestfs-structs.pod:@STRUCTS@ \ @@ -67,23 +69,40 @@ guestfs.3: guestfs.pod guestfs-actions.pod guestfs-availability.pod guestfs-stru guestfish.1: guestfish.pod guestfish-actions.pod guestfish-commands.pod $(PODWRAPPER) \ + --no-strict-checks \ --man $@ \ + --license GPLv2+ \ --insert $(srcdir)/guestfish-actions.pod:@ACTIONS@ \ --insert $(srcdir)/guestfish-commands.pod:@FISH_COMMANDS@ \ $< virt-sysprep.1: virt-sysprep.pod sysprep-extra-options.pod sysprep-operations.pod $(PODWRAPPER) \ + --no-strict-checks \ --man $@ \ + --license GPLv2+ \ --insert sysprep-extra-options.pod:@EXTRA_OPTIONS@ \ --insert sysprep-operations.pod:@OPERATIONS@ \ $< %.1: %.pod - $(PODWRAPPER) --man $@ $< + $(PODWRAPPER) \ + --no-strict-checks \ + --man $@ \ + $< + +%.3: %.pod + $(PODWRAPPER) \ + --no-strict-checks \ + --man $@ \ + --section 3 \ + $< %.1: %.pl - $(PODWRAPPER) --man $@ $< + $(PODWRAPPER) \ + --no-strict-checks \ + --man $@ \ + $< # Ensure that the first time we build from git, since guestfs.pod # hasn't been built yet, build it. |