Fix gen-special when an entity is commented out:
[automated_linux_from_scratch.git] / branches / experimental / BLFS / Makefile
blob210791ad35b8a1d860dd209a1bb550ad1e73a56f
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>
5 # $Id$
7 LANG=C
8 LC_ALL=C
9 TOPDIR=$(shell pwd)
10 CONFIG_CONFIG_IN = Config.in
11 CONFIG = menu
13 all: menuconfig
15 $(CONFIG)/conf:
16 $(MAKE) -B -C $(CONFIG) conf
18 $(CONFIG)/mconf:
19 $(MAKE) -B -C $(CONFIG) ncurses conf mconf
21 menuconfig: $(CONFIG)/mconf
22 @./update_book.sh none
23 @./gen_config.sh
24 @$(CONFIG)/mconf $(CONFIG_CONFIG_IN)
25 @./gen_pkg_book.sh
27 config: $(CONFIG)/conf
28 @$(CONFIG)/conf $(CONFIG_CONFIG_IN)
30 # Clean up
32 clean:
33 rm -f configuration configuration.old error
34 - $(MAKE) -C $(CONFIG) clean
36 clean-target:
37 rm -f error
38 - $(MAKE) -C $(CONFIG) clean
40 .PHONY: all menuconfig config clean clean-target $(CONFIG)/conf $(CONFIG)/mconf