Files
librep/0001-install-byte-compiled-emacs-lisp.patch
Togan Muftuoglu 604b528445 Accepting request 127283 from home:toganm:branches:X11:windowmanagers
- Update to 0.92.2.1 (no changelog difference as previous release) 
  * spec cleanup
    + BuildRequires xz if openSUSE 12.1 or older
    + 0001-fix-incorrect-fsf-address.patch
    + 0001-install-byte-compiled-emacs-lisp to provide byte
      compiled rep-debugger (adds emacs-nox to build requirements)

OBS-URL: https://build.opensuse.org/request/show/127283
OBS-URL: https://build.opensuse.org/package/show/X11:windowmanagers/librep?expand=0&rev=2
2012-07-06 13:50:09 +00:00

38 lines
1.3 KiB
Diff

From 3c04679c2f561097862703eb8c21e17432865913 Mon Sep 17 00:00:00 2001
From: Togan Muftuoglu <toganm@opensuse.org>
Date: Fri, 6 Jul 2012 13:44:29 +0200
Subject: [PATCH] install byte compiled emacs lisp
Signed-off-by: Togan Muftuoglu <toganm@opensuse.org>
---
Makefile.in | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/Makefile.in b/Makefile.in
index 6e11d2f..aec60df 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -49,7 +49,8 @@ install : all installdirs
$(INSTALL_SCRIPT) libtool $(DESTDIR)$(repcommonexecdir)
$(INSTALL_DATA) rules.mk $(DESTDIR)$(repcommonexecdir)
$(INSTALL_SCRIPT) install-aliases $(DESTDIR)$(repcommonexecdir)
- $(INSTALL_DATA) rep-debugger.el $(DESTDIR)$(emacssitelispdir)
+ emacs -Q -batch -f batch-byte-compile rep-debugger.el
+ $(INSTALL_DATA) rep-debugger.elc $(DESTDIR)$(emacssitelispdir)
mkdir -p $(DESTDIR)$(libdir)/pkgconfig
$(INSTALL_DATA) $(top_srcdir)/librep.pc $(DESTDIR)$(libdir)/pkgconfig/
@@ -68,7 +69,7 @@ uninstall :
rm -f $(DESTDIR)$(repcommonexecdir)/rules.mk
rm -f $(DESTDIR)$(repcommonexecdir)/install-aliases
rm -f $(DESTDIR)$(repcommonexecdir)/libtool
- rm -f $(DESTDIR)$(emacssitelispdir)/rep-debugger.el
+ rm -f $(DESTDIR)$(emacssitelispdir)/rep-debugger.elc
rm -f $(DESTDIR)$(libdir)/pkgconfig/librep.pc
doc-strings : src/repdoc
--
1.7.7