patch for building outside of srcdir
Mike Castle <[email protected]>
| Newsgroups | gmane.lisp.librep |
|---|---|
| Message-ID | <[email protected]> |
patch -p1 << \EOF
diff -ru librep-0.17.orig/Makefile.in librep-0.17/Makefile.in
--- librep-0.17.orig/Makefile.in 2003-09-03 22:57:43.000000000 -0700
+++ librep-0.17/Makefile.in 2003-12-01 17:29:46.000000000 -0800
@@ -36,7 +36,7 @@
'$(repdir)' '$(replispdir)' '$(repexecdir)' \
'$(repdocfile)' '$(repcommonexecdir)' >$@
-rules.mk : rules.mk.sh config.status
+$(top_srcdir)/rules.mk : $(top_srcdir)/rules.mk.sh config.status
$(SHELL) $< '$(repdir)' '$(repcommonexecdir)' '$(repdocfile)' >$@
check :
@@ -51,7 +51,7 @@
$(INSTALL_DATA) doc-strings $(DESTDIR)$(repexecdir)
$(INSTALL_SCRIPT) emulate-gnu-tar $(DESTDIR)$(repexecdir)
$(INSTALL_SCRIPT) libtool $(DESTDIR)$(repcommonexecdir)
- $(INSTALL_DATA) rules.mk $(DESTDIR)$(repcommonexecdir)
+ $(INSTALL_DATA) $(top_srcdir)/rules.mk $(DESTDIR)$(repcommonexecdir)
$(INSTALL_SCRIPT) install-aliases $(DESTDIR)$(repcommonexecdir)
$(INSTALL_DATA) rep-debugger.el $(DESTDIR)$(emacssitelispdir)
Only in librep-0.17/: rules.mk
diff -ru librep-0.17.orig/src/Makefile.in librep-0.17/src/Makefile.in
--- librep-0.17.orig/src/Makefile.in 2003-07-26 01:35:25.000000000 -0700
+++ librep-0.17/src/Makefile.in 2003-12-02 10:12:03.000000000 -0800
@@ -57,7 +57,7 @@
librep.la : $(OBJS) $(LIBOBJS) $(ALLOCA)
$(LIBTOOL) --mode=link $(CC) $(LDFLAGS) \
- -version-info $(libversion) -export-symbols librep.sym \
+ -version-info $(libversion) -export-symbols $(srcdir)/librep.sym \
-o $@ $^ -rpath $(libdir) $(LIBS) $(GMP_LIBS)
rep : $(REP_OBJS) $(EXTRA_LIBOBJS) librep.la
EOF
--
Mike Castle [email protected] www.netcom.com/~dalgoda/
We are all of us living in the shadow of Manhattan. -- Watchmen
fatal ("You are in a maze of twisty compiler features, all different"); -- gcc
-------------------------------------------------------
This SF.net email is sponsored by OSDN's Audience Survey.
Help shape OSDN's sites and tell us what you think. Take this
five minute survey and you could win a $250 Gift Certificate.
http://www.wrgsurveys.com/2003/osdntech03.php?site=8