unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#7220: [build] target really-oldXMenu doesn't work
@ 2010-10-15  5:48 Regis
  0 siblings, 0 replies; 2+ messages in thread
From: Regis @ 2010-10-15  5:48 UTC (permalink / raw)
  To: 7220

$ pwd
/home/bahamut/emacs/emacs.git/src
bahamut@Harmony-L3NEK37:~/emacs/emacs.git/src [master]
$ make really-oldXMenu
cd ; make  \
     CC='gcc' CFLAGS='-g -O2' MAKE='make'
make[1]: Entering directory `/home/bahamut'
make[1]: *** No targets specified and no makefile found.  Stop.
make[1]: Leaving directory `/home/bahamut'
make: *** [really-oldXMenu] Error 2

After investigation, I found that variable name $(oldxmenudir) in
src/Makefile.in should be $(oldXMenudir), following patch works well for
me:

Index: src/Makefile.in
=====================================================================
--- src/Makefile.in
+++ src/Makefile.in
@@ -660,7 +660,7 @@ really-lwlib:
  .PHONY: really-lwlib

  really-oldXMenu:
-	cd $(oldxmenudir); $(MAKE) $(MFLAGS) \
+	cd $(oldXMenudir); $(MAKE) $(MFLAGS) \
      CC='$(CC)' CFLAGS='$(CFLAGS)' MAKE='$(MAKE)'
  	@true  # make -t should not create really-oldXMenu.
  .PHONY: really-oldXMenu


-- 
Best Regards,
Regis.





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#7220: [build] target really-oldXMenu doesn't work
       [not found] <mailman.9.1287124941.11126.bug-gnu-emacs@gnu.org>
@ 2010-10-15  7:49 ` Tassilo Horn
  0 siblings, 0 replies; 2+ messages in thread
From: Tassilo Horn @ 2010-10-15  7:49 UTC (permalink / raw)
  To: Regis; +Cc: 7220-done

Regis <xu.regis@gmail.com> writes:

Hi Regis,

> After investigation, I found that variable name $(oldxmenudir) in
> src/Makefile.in should be $(oldXMenudir), following patch works well for
> me:
>
> Index: src/Makefile.in
> =====================================================================
> --- src/Makefile.in
> +++ src/Makefile.in
> @@ -660,7 +660,7 @@ really-lwlib:
>   .PHONY: really-lwlib
>
>   really-oldXMenu:
> -	cd $(oldxmenudir); $(MAKE) $(MFLAGS) \
> +	cd $(oldXMenudir); $(MAKE) $(MFLAGS) \
>       CC='$(CC)' CFLAGS='$(CFLAGS)' MAKE='$(MAKE)'
>   	@true  # make -t should not create really-oldXMenu.
>   .PHONY: really-oldXMenu

I've applied the patch and the build works again for me, too.  I'm
closing that report.

Thanks,
Tassilo





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-10-15  7:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.9.1287124941.11126.bug-gnu-emacs@gnu.org>
2010-10-15  7:49 ` bug#7220: [build] target really-oldXMenu doesn't work Tassilo Horn
2010-10-15  5:48 Regis

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).