[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 (X11/20070622)

Debarshi 'Rishi' Ray wrote:

I use the above patch, taken from Debian, in the Fedora package. It
provides a README.example which I put inside

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


Lorenzo Bettini, PhD in Computer Science, DSI, Univ. di Firenze
ICQ# lbetto, 16080134     (GNU/Linux User # 158233)
#!/bin/sh -v

# commands to try the C++ example:

gengetopt -isample1.ggo -Fcmdline1 --long-help -u 
c++ -o main1 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\" 
./main2 -h

reply via email to

[Prev in Thread] Current Thread [Next in Thread]