[OpenAFS-devel] Delta pod-man-pages-20051015 messes up build on systems without pod2man

Rainer Toebbicke rtb@pclella.cern.ch
Wed, 09 Nov 2005 14:51:38 +0100


This is a multi-part message in MIME format.
--------------010207080909040003000908
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

The delta pod-man-pages-20051015 makes AFS unbuildable on systems 
lacking the 'pod2man' command (in our case: Solaris 8).

With the attached patch the build works again at least - without man pages.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rainer Toebbicke
European Laboratory for Particle Physics(CERN) - Geneva, Switzerland
Phone: +41 22 767 8985       Fax: +41 22 767 7155

--------------010207080909040003000908
Content-Type: text/plain;
 name="patch_no_pod2man"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="patch_no_pod2man"

--- openafs/doc/man-pages/Makefile.in.o141	2005-10-15 17:04:27.000000000 +0200
+++ openafs/doc/man-pages/Makefile.in	2005-11-09 14:37:16.000000000 +0100
@@ -172,28 +172,28 @@
 all: $(MAN1) $(MAN8)
 
 %.1: $(srcdir)/pod/%.pod
-	pod2man -c 'AFS Command Reference' -r 'OpenAFS' -s 1 $< $@
+	-pod2man -c 'AFS Command Reference' -r 'OpenAFS' -s 1 $< $@
 
 %.8: $(srcdir)/pod/%.pod
-	pod2man -c 'AFS Command Reference' -r 'OpenAFS' -s 8 $< $@
+	-pod2man -c 'AFS Command Reference' -r 'OpenAFS' -s 8 $< $@
 
 clean:
 	rm -f *.1 *.8
 
 dest: $(MAN1) $(MAN8)
 	mkdir -p $(DEST)/man/man1 $(DEST)/man/man8
-	set -e; for M in $(MAN1) ; do \
+	-set -e; for M in $(MAN1) ; do \
 	    $(INSTALL) -c -m 0644 $$M $(DEST)/man/man1/$$M ; \
 	done
-	set -e; for M in $(MAN8) ; do \
+	-set -e; for M in $(MAN8) ; do \
 	    $(INSTALL) -c -m 0644 $$M $(DEST)/man/man8/$$M ; \
 	done
 
 install: $(MAN1) $(MAN8)
 	mkdir -p $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man8
-	set -e; for M in $(MAN1) ; do \
+	-set -e; for M in $(MAN1) ; do \
 	    $(INSTALL) -c -m 0644 $$M $(DESTDIR)$(mandir)/man1/$$M ; \
 	done
-	set -e; for M in $(MAN8) ; do \
+	-set -e; for M in $(MAN8) ; do \
 	    $(INSTALL) -c -m 0644 $$M $(DESTDIR)$(mandir)/man8/$$M ; \
 	done

--------------010207080909040003000908--