~ubuntu-branches/ubuntu/raring/ncbi-tools6/raring

« back to all changes in this revision

Viewing changes to demo/asn2idx.c

  • Committer: Package Import Robot
  • Author(s): Aaron M. Ucko
  • Date: 2011-09-05 18:55:02 UTC
  • mfrom: (1.1.11 upstream)
  • Revision ID: package-import@ubuntu.com-20110905185502-iuvmoe65ytljhckn
Tags: 6.1.20110713-1
* New upstream release.
* debian/*.symbols: update accordingly.
* make/makeshlb.unx: link libcn3dOGL.so against -lm for sqrt.
* doc/man/*.1: update for new release.
* debian/rules:
  - (VIB): add asnmacro, as upstream takes care to publish binaries thereof.
  - Retire obsolete multiarch-unaware checks for libpthread.
  - Fully modernize Debhelper usage; in particular, transition to overrides.
* debian/compat: advance to 9 per rules modernization.
* debian/ncbi-tools-bin.install: add asnmacro.
* make/makenet.unx: link asnmacro only against libraries it directly needs.
* doc/man/asnmacro.1: give asnmacro a man page.
* doc/man/Psequin.1: list it in SEE ALSO.
* network/id1arch/idfetch.c: revert redundant change (from #295110).
* Convert to multiarch.
  - debian/rules: Install libraries (and ncbithr.o) to multiarch directories.
  - debian/lib*.install: match multiarch library paths.
  - debian/control:
    + Build-Depends: debhelper (>= 8.1.3~), implying a recent dpkg-dev.
    + Set Multi-Arch: as appropriate across the board, and specify
      Pre-Depends: ${misc:Pre-Depends} for runtime libraries.
* debian/*.lintian-overrides: drop leading slashes for Lintian 2.5.x.
* debian/control: Standards-Version: 3.9.2 (already compliant).

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
*
30
30
* Version Creation Date:   8/2/04
31
31
*
32
 
* $Revision: 1.5 $
 
32
* $Revision: 1.6 $
33
33
*
34
34
* File Description:
35
35
*
52
52
#include <sqnutils.h>
53
53
#include <lsqfetch.h>
54
54
 
 
55
#define ASN2IDX_APP_VER "1.1"
 
56
 
 
57
CharPtr ASN2IDX_APPLICATION = ASN2IDX_APP_VER;
 
58
 
55
59
static Boolean NotInFilter (
56
60
  CharPtr filename,
57
61
  ValNodePtr exclude
192
196
Int2 Main (void)
193
197
 
194
198
{
 
199
  Char        app [64];
195
200
  Boolean     binary, dorecurse;
196
201
  CharPtr     directory, filter, results, subdir, subfile;
197
202
  ValNodePtr  exclude = NULL;
226
231
 
227
232
  /* process command line arguments */
228
233
 
229
 
  if (! GetArgs ("asn2idx", sizeof (myargs) / sizeof (Args), myargs)) {
 
234
  sprintf (app, "asn2idx %s", ASN2IDX_APPLICATION);
 
235
  if (! GetArgs (app, sizeof (myargs) / sizeof (Args), myargs)) {
230
236
    return 0;
231
237
  }
232
238