Re: patch for building outside of srcdir

John Harper <[email protected]>
Newsgroups gmane.lisp.librep
Message-ID <[email protected]>
thanks, I applied the src/Makefile.in patch. But I don't think the 
rules.mk part of the patch is correct, won't it cause the source 
directory to be modified? (by creating the rules.mk file in it)

	John

On Dec 2, 2003, at 1:19 PM, Mike Castle wrote:
> 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)



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.