--- Begin Message ---
Subject: |
[build] target really-oldXMenu doesn't work |
Date: |
Fri, 15 Oct 2010 13:48:50 +0800 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.12) Gecko/20100914 Thunderbird/3.0.8 |
$ pwd
/home/bahamut/emacs/emacs.git/src
address@hidden:~/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.
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#7220: [build] target really-oldXMenu doesn't work |
Date: |
Fri, 15 Oct 2010 09:49:06 +0200 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) |
Regis <address@hidden> 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
--- End Message ---