autoconf/automake building a distribution?

"pallav" <[email protected]>
Newsgroups gmane.comp.gnu.utils
Organization http://groups.google.com
Message-ID <[email protected]>
i'm trying to build a distribution using automake/autoconf. when i try
"make dist", i get the following output.

cd . && /bin/sh /Users/pgupta/Documents/Villanova/leda-0.1/missing --
run autoheader
touch ./config.h.in
{ test ! -d LEDA-0.1 || { find LEDA-0.1 -type d ! -perm -200 -exec
chmod u+w {} ';' && rm -fr LEDA-0.1; }; }
mkdir LEDA-0.1
list='m4 doc src'; for subdir in $list; do \
  if test "$subdir" = .; then :; else \
    test -d LEDA-0.1/$subdir \
    || mkdir LEDA-0.1/$subdir \
    || exit 1; \
    (cd $subdir && \
      make  \
        top_distdir="." \
        distdir=../LEDA-0.1/$subdir \
        distdir) \
      || exit 1; \
  fi; \
done
make[1]: *** No rule to make target ` ', needed by `distdir'.  Stop.
make: *** [distdir] Error 1


where do i set the target? in my src/ directory i have bin_PROGRAMS =
leda and leda_SOURCES = ... a bunch of files what else do i have to
set ?

i can compile the program etc just fine but its the distribution that
is causing problems. any help will be appreciated.
thanks
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.