[cdftools] 158/228: * Add online manuel: man cdftools

Alastair McKinstry mckinstry at moszumanska.debian.org
Fri Jun 12 08:21:43 UTC 2015


This is an automated email from the git hooks/post-receive script.

mckinstry pushed a commit to branch master
in repository cdftools.

commit e98c02fcc37797514a19f0e8f1e6548b9eb55d09
Author: g7moreau <g7moreau at 1055176f-818a-41d9-83e1-73fbe5b947c5>
Date:   Wed Jun 6 11:34:45 2012 +0000

    * Add online manuel: man cdftools
    
    
    git-svn-id: http://servforge.legi.grenoble-inp.fr/svn/CDFTOOLS/trunk@606 1055176f-818a-41d9-83e1-73fbe5b947c5
---
 Makefile           | 22 +++++++++++++++++++++-
 cdftools-begin.pod | 21 +++++++++++++++++++++
 cdftools-end.pod   | 38 ++++++++++++++++++++++++++++++++++++++
 3 files changed, 80 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 85fa2a8..6bcd803 100644
--- a/Makefile
+++ b/Makefile
@@ -35,6 +35,8 @@ EXEC = cdfmoy cdfmoyt cdfstd  cdfmoy_weighted cdfmoy_freq cdfvT \
        cdfpsi_level cdfhdy cdfhdy3d cdffracinv  cdfmaskdmp cdfnan cdfscale cdfnamelist \
        cdfisopsi cdf2matlab cdffixtime cdfgeostrophy
 
+.PHONY: all clean cleanexe install man installman
+
 all: $(EXEC)
 
 ## Statistical programs
@@ -413,10 +415,28 @@ modutils.o: cdfio.o modutils.f90
 
 ## Utilities
 clean:
-	\rm -f *.mod *.o  *~
+	\rm -f *.mod *.o  *~ *.1 *.opod
 
 cleanexe: clean
 	( cd $(BINDIR) ; \rm -f $(EXEC) )
 
+man: cdftools.1
+
+cdftools.1: cdftools.opod
+	pod2man --center "CDFTOOLS / NEMO Documentation" \
+	  --release "SVN Revision $$(LANG=C svn update | grep '^At rev' | awk '{print $$3}' | cut -f 1 -d '.')" \
+	  cdftools.opod > cdftools.1
+
+cdftools.opod: $(EXEC) cdftools-begin.pod cdftools-end.pod
+	cat cdftools-begin.pod > cdftools.opod
+	for s in $$( cd $(BINDIR); ls -1 ); do echo ''; echo "=head2 $$s"; echo ''; $$s; done >> cdftools.opod
+	cat cdftools-end.pod >> cdftools.opod
+
 install:
+	@mkdir -p $(INSTALL)
 	cd bin ; \cp $(EXEC)  $(INSTALL)
+
+installman:
+	@mkdir -p $(INSTALL_MAN)/man1;
+	\cp -f cdftools.1 $(INSTALL_MAN)/man1/;
+	for s in $$( cd $(BINDIR); ls -1 ); do ( cd $(INSTALL_MAN)/man1/; ln -sf cdftools.1 $$s.1 ); done;
diff --git a/cdftools-begin.pod b/cdftools-begin.pod
new file mode 100644
index 0000000..b33daff
--- /dev/null
+++ b/cdftools-begin.pod
@@ -0,0 +1,21 @@
+=head1  NAME
+
+cdftools - diagnostics in Fortran 90 for NEMO model outputs
+
+=head1 SYNOPSIS
+
+ cdf* option...
+
+=head1 DESCRIPTION
+
+C<CDFTOOLS> is a diagnostic package written in fortran 90
+for the analysis of NEMO model output in the frame of the DRAKKAR project.
+
+This software is a computer program for analysis of NEMO model output 
+produced in the frame of the DRAKKAR project. It is designed  for the
+treatment of the NetCdf files produced by NEMO-DRAKKAR. 
+
+C<NEMO> web site : http://www.nemo-ocean.eu/
+
+=head1 COMMAND
+
diff --git a/cdftools-end.pod b/cdftools-end.pod
new file mode 100644
index 0000000..c73d95a
--- /dev/null
+++ b/cdftools-end.pod
@@ -0,0 +1,38 @@
+
+=head1 AUTHORS
+
+Written by Jean-Marc Molines, Grenoble - France
+
+Contributors : F. Castruccio, C. Dufour, R. Dussin, M. Juza, 
+A. Lecointre, P. Mathiot, A. Melet., A.M. Treguier
+
+=head1 LICENSE AND COPYRIGHT
+
+Copyright (C) 1998-2012 LEGI / Team MEOM / CNRS UMR 5518 - Grenoble - France,
+Jean-Marc.Molines at legi.grenoble-inp.fr
+
+This software is governed by the CeCILL  license under French law and
+abiding by the rules of distribution of free software.  You can  use, 
+modify and/ or redistribute the software under the terms of the CeCILL
+license as circulated by CEA, CNRS and INRIA at the following URL
+"http://www.cecill.info". 
+
+As a counterpart to the access to the source code and  rights to copy,
+modify and redistribute granted by the license, users are provided only
+with a limited warranty  and the software's author,  the holder of the
+economic rights,  and the successive licensors  have only  limited
+liability. 
+
+In this respect, the user's attention is drawn to the risks associated
+with loading,  using,  modifying and/or developing or reproducing the
+software by the user in light of its specific status of free software,
+that may mean  that it is complicated to manipulate,  and  that  also
+therefore means  that it is reserved for developers  and  experienced
+professionals having in-depth computer knowledge. Users are therefore
+encouraged to load and test the software's suitability as regards their
+requirements in conditions enabling the security of their systems and/or 
+data to be ensured and,  more generally, to use and operate it in the 
+same conditions as regards security. 
+
+The fact that you are presently reading this means that you have had
+knowledge of the CeCILL license and that you accept its terms.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/cdftools.git



More information about the debian-science-commits mailing list