From: "Alexandre Russel" <scandrou@hpo.net>
Subject: Using autoconf to release elisp package
Date: 10 Oct 2004 23:26:54 +0900 [thread overview]
Message-ID: <m31xg6ejip.fsf@localhost.localdomain> (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
next reply other threads:[~2004-10-10 14:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-10 14:26 Alexandre Russel [this message]
2004-10-10 19:36 ` Using autoconf to release elisp package Xavier Maillard
2004-10-10 20:15 ` Jesper Harder
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m31xg6ejip.fsf@localhost.localdomain \
--to=scandrou@hpo.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).