From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Alexandre Russel" Newsgroups: gmane.emacs.help Subject: Using autoconf to release elisp package Date: 10 Oct 2004 23:26:54 +0900 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1097418798 14013 80.91.229.6 (10 Oct 2004 14:33:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 10 Oct 2004 14:33:18 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Oct 10 16:33:13 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CGel6-0006iV-00 for ; Sun, 10 Oct 2004 16:33:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CGerz-0006Q0-82 for geh-help-gnu-emacs@m.gmane.org; Sun, 10 Oct 2004 10:40:19 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!uio.no!quimby.gnus.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 43 Original-NNTP-Posting-Host: pl1519.nas927.o-tokyo.nttpc.ne.jp Original-X-Trace: quimby.gnus.org 1097418417 8567 210.153.175.239 (10 Oct 2004 14:26:57 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Sun, 10 Oct 2004 14:26:57 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Original-Xref: shelby.stanford.edu gnu.emacs.help:125810 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:21175 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:21175 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