source: BLFS/Makefile@ 9d9a810

2.3 2.4 ablfs ablfs-more legacy new_features trunk
Last change on this file since 9d9a810 was a069757, checked in by Manuel Canales Esparcia <manuel@…>, 17 years ago

BLFS: Be sure that the menu/mconf binary is rebuild each time.

  • Property mode set to 100644
File size: 815 bytes
Line 
1# From the Build Scripts Written By: Jim Gifford <lfs@jg555.com>
2# Modified By: Joe Ciccone <jciccone@linuxfromscratch.org
3# Additional changes: George Boudreau <georgeb@linuxfromscratch.org>
4
5# $Id$
6
7TOPDIR=$(shell pwd)
8CONFIG_CONFIG_IN = Config.in
9CONFIG = menu
10
11all: menuconfig
12
13$(CONFIG)/conf:
14 $(MAKE) -B -C $(CONFIG) conf
15
16$(CONFIG)/mconf:
17 $(MAKE) -B -C $(CONFIG) ncurses conf mconf
18
19menuconfig: $(CONFIG)/mconf
20 @./update_book.sh none
21 @./gen_config.sh
22 @$(CONFIG)/mconf $(CONFIG_CONFIG_IN)
23 @./gen_pkg_book.sh
24
25config: $(CONFIG)/conf
26 @$(CONFIG)/conf $(CONFIG_CONFIG_IN)
27
28# Clean up
29
30clean:
31 rm -f configuration configuration.old error
32 - $(MAKE) -C $(CONFIG) clean
33
34clean-target:
35 rm -f error
36 - $(MAKE) -C $(CONFIG) clean
37
38.PHONY: all menuconfig config clean clean-target $(CONFIG)/conf $(CONFIG)/mconf
Note: See TracBrowser for help on using the repository browser.