[vox-tech] make dist creates AC_PACKAGE_TARNAME-AC_PACKAGE_VERSION.tar.gz

Issac Trotts issac.trotts at gmail.com
Mon Oct 17 20:32:10 PDT 2005


Hi all,

I'm trying to add autotools support to a program I wrote, but got stuck
here. When I make dist, it creates

AC_PACKAGE_TARNAME-AC_PACKAGE_VERSION.tar.gz

literally, but I would like it to create alignrows-0.0.1. Here's
configure.in <http://configure.in>:

AC_INIT(main.c)
VERSION=0.0.1
AM_INIT_AUTOMAKE(alignrows,$VERSION,no-define)
AM_CONFIG_HEADER(config.h)

dnl find and test the C compiler
AC_PROG_CC
AC_LANG_C

AC_PROG_MAKE_SET

AM_PATH_GSL(1.6)

AC_HEADER_STDC

AM_INIT_AUTOMAKE

dnl read Makefile.in <http://Makefile.in> and write Makefile
AC_OUTPUT(Makefile)


and here's Makefile.am <http://Makefile.am>:

AUTOMAKE_OPTIONS = gnu
LDADD = -lnetpbm -lm
bin_PROGRAMS = alignrows
alignrows_SOURCES = main.c


Thanks for any help,
Issac
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ns1.livepenguin.com/pipermail/vox-tech/attachments/20051017/3ad37226/attachment.htm


More information about the vox-tech mailing list