unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Using autoconf to release elisp package
@ 2004-10-10 14:26 Alexandre Russel
  2004-10-10 19:36 ` Xavier Maillard
  2004-10-10 20:15 ` Jesper Harder
  0 siblings, 2 replies; 3+ messages in thread
From: Alexandre Russel @ 2004-10-10 14:26 UTC (permalink / raw)


I manage to learn how to use autoconf with C code. I write the code
with main function hello.cpp and create 2 files Makefile.am and
configure.in such as:
----Makefile.am---start----
bin_PROGRAMS = hello
hello_SOURCES = hello.cpp helloworld.cpp hello.h
----Makefile.am---end------
and
----configure.in---start----
AC_INIT(hello.cpp)
AM_INIT_AUTOMAKE(hello,0.1)
AC_PROG_CXX
AC_PROG_INSTALL
AC_OUTPUT(Makefile)
----configure.in---end0-----
and then run:
aclocal
autoconf
automake -a

I would like to be able to do the same thing with elisp. Say I have
2 elisp files(hello.el , world.el) and 1 texinfo file(hello.texi)
how can I create configure.in and Makefile.am so it would be as
easy as typing ./configure and make for a potential user. 
I went as far as writing:
----Makefile.am--start----
bin_PROGRAMS = try
dist_lisp_LISP = try.el
TEXINFOS = try.el
----Makefile.am--end----
and
----configure--start----
AC_INIT(try.el)
AM_INIT_AUTOMAKE(try,0.1)
AM_PATH_LISPDIR
AC_PROG_INSTALL
AC_OUTPUT(Makefile)
----configure.in--end----

But it doesn't work yet.Any link to tutorial or tips on how to make elisp package very
welcome.
Cheers,
alex

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-10-10 20:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-10 14:26 Using autoconf to release elisp package Alexandre Russel
2004-10-10 19:36 ` Xavier Maillard
2004-10-10 20:15 ` Jesper Harder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).