build: Add rules for building text version of manual page.
authorRichard W.M. Jones <rjones@redhat.com>
Sat, 21 Sep 2013 11:30:43 +0000 (12:30 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Sat, 21 Sep 2013 11:30:43 +0000 (12:30 +0100)
Makefile.am

index 8a81cd3..f6e2f32 100644 (file)
@@ -100,6 +100,14 @@ goaljobs-reference.1: goaljobs-reference.pod
        $(POD2MAN) -c "Goaljobs" --release $(PACKAGE)-$(VERSION) $< > $@-t
        mv $@-t $@
 
+goaljobs.1.txt: goaljobs.pod
+       pod2text $< > $@-t
+       mv $@-t $@
+
+goaljobs-reference.1.txt: goaljobs-reference.pod
+       pod2text $< > $@-t
+       mv $@-t $@
+
 endif
 
 if HAVE_OCAMLDOC