commit-womb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-womb] addressbook Makefile


From: Xavier Maillard
Subject: [Commit-womb] addressbook Makefile
Date: Mon, 07 May 2007 20:14:55 +0000

CVSROOT:        /sources/womb
Module name:    addressbook
Changes by:     Xavier Maillard <zeDek> 07/05/07 20:14:55

Added files:
        .              : Makefile 

Log message:
        Added Makefile

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/addressbook/Makefile?cvsroot=womb&rev=1.1

Patches:
Index: Makefile
===================================================================
RCS file: Makefile
diff -N Makefile
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ Makefile    7 May 2007 20:14:55 -0000       1.1
@@ -0,0 +1,23 @@
+## Build and install stuff
+
+EMACS = emacs
+
+ELC = vcard.elc addressbook.elc
+INSTALL ?= install
+INSTALL_ELC = $(INSTALL) -m 644
+prefix ?= $(HOME)
+emacsdir = $(prefix)/share/emacs/site-lisp
+
+all: $(ELC)
+
+install: all
+       $(INSTALL) -d $(DESTDIR)$(emacsdir)
+       $(INSTALL_ELC) $(ELC) $(DESTDIR)$(emacsdir)
+
+%.elc: %.el
+       @echo "Byte compiling the source file "$<
+       @$(EMACS) -batch -q \
+               --eval '(setq load-path (cons "." load-path))' \
+               -f batch-byte-compile $<
+
+clean:; rm -f $(ELC)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]