[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [help-gengetopt] Build problems.
From: |
Lorenzo Bettini |
Subject: |
Re: [help-gengetopt] Build problems. |
Date: |
Fri, 03 Aug 2007 17:50:02 +0200 |
User-agent: |
Mozilla-Thunderbird 2.0.0.4 (X11/20070622) |
Debarshi 'Rishi' Ray wrote:
http://rishi.fedorapeople.org/gengetopt-2.20-from-debian.patch
I use the above patch, taken from Debian, in the Fedora package. It
provides a README.example which I put inside
/usr/share/doc/gengetopt-2.20/examples.
Hi there
I've included the README.example, which however contains some errors...
I attached the working version
This brings forth another point. The released tarball puts the
documentation inside /usr/share/doc/gengetopt, instead of
/usr/share/doc/gengetopt-2.20. Nothing very critical but most packages
usually append the version number in the directory name.
I've actually followed the GNU coding standards for this... I'm a little
bit reluctant to change it... if it's not critical I'd keep the current
behavior :-)
I'm about to release 2.21
thanks
Lorenzo
--
Lorenzo Bettini, PhD in Computer Science, DSI, Univ. di Firenze
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net
#!/bin/sh -v
# commands to try the C++ example:
gengetopt -isample1.ggo -Fcmdline1 --long-help -u
c++ -o main1 main1.cc cmdline1.c
./main1 --help
# commands to try the C example:
gengetopt --input=sample2.ggo --func-name=my_cmdline_parser
--file-name=cmdline2 --unamed-opts
gcc -o main2 main2.c cmdline2.c -DMY_CMDLINE_PARSER_PACKAGE=\"sample2\"
-DMY_CMDLINE_PARSER_VERSION=\"2.0\"
./main2 -h
- Re: [help-gengetopt] Build problems.,
Lorenzo Bettini <=