Re: Build problems.

Lorenzo Bettini <[email protected]>
Newsgroups gmane.comp.gnu.gengetopt.general
Message-ID <[email protected]>
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

_______________________________________________
Help-gengetopt mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gengetopt
README.example (text/plain, 399 B)
#!/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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.