pnetcdf 1.0.1 VPATH build
Robert Latham
robl at mcs.anl.gov
Wed May 3 16:23:47 CDT 2006
On Tue, Apr 25, 2006 at 05:54:14PM +0200, Dries Kimpe wrote:
>
> Hi,
>
> there is a small error in the makefile in src/lib in the 1.0.1 version;
> $(srcdir) is missing in the rule to install the manual page.
>
> --- old/Makefile.in 2006-04-25 17:52:48.002395500 +0200
> +++ new/Makefile.in 2006-04-25 17:52:40.249911000 +0200
> @@ -77,7 +77,7 @@
> $(INSTALL) -m 644 $(srcdir)/$(HEADER) $(INCDIR)/$(HEADER)
>
> $(INSTALL) -d -m 755 $(MANDIR)/man3
> - $(INSTALL) -m 644 $(MANUAL) $(MANDIR)/man3/$(MANUAL)
> + $(INSTALL) -m 644 $(srcdir)/$(MANUAL) $(MANDIR)/man3/$(MANUAL)
>
> $(INSTALL) -d $(BINDIR)
> $(INSTALL) -m 755 $(PROGRAM) $(BINDIR)/$(PROGRAM)
>
>
> Without this patch, VPATH builds fail to install...
Hi Dries
I took a closer look at this but pnetcdf.3 is a generated file:
m4 -B10000 -DAPI=C /homes/robl/projects/parallel-netcdf/src/lib/../../man/netcdf
.m4 >pnetcdf.3
The 1.0.1 release does not ship a generated man page. What I think
happened is that perhaps you built in-tree once, did a make clean,
then did a VPATH build? Our 'make clean' rule leaves behind
pnetcdf.3 when it should delete that generated file.
Sorry for the confusion. It's been fixed in CVS and will be in the
next release.
==rob
--
Rob Latham
Mathematics and Computer Science Division A215 0178 EA2D B059 8CDF
Argonne National Labs, IL USA B29D F333 664A 4280 315B
More information about the parallel-netcdf
mailing list