source: Makefile@ 8418e9b

2.4 ablfs-more legacy new_features trunk
Last change on this file since 8418e9b was 8418e9b, checked in by Pierre Labastie <pierre@…>, 12 years ago

LFS/master.sh:

  • Ignore error when useradd does not support "-k /dev/null" (happens at

least on Suse)

  • strip "-libstdc++" from the script name to allow building gcc-libstdc++

with package gcc

  • Property mode set to 100644
File size: 941 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
5TOPDIR=$(shell pwd)
6CONFIG_CONFIG_IN = Config.in
7CONFIG = menu
8
9all: menuconfig
10# @clear
11 @echo -n "Do you want tu run jhalfs (y)? "
12 @read ANSWER; \
13 if [ x$ANSWER != xn -and x$ANSWER != xno ]; then \
14 `grep RUN_ME configuration | sed -e 's@RUN_ME=\"@@' -e 's@\"@@' `; \
15 else
16 echo Exiting gracefully; \
17 fi
18
19$(CONFIG)/conf:
20 $(MAKE) -C $(CONFIG) conf
21
22$(CONFIG)/mconf:
23 $(MAKE) -C $(CONFIG) ncurses conf mconf
24
25menuconfig: $(CONFIG)/mconf
26 @$(CONFIG)/mconf $(CONFIG_CONFIG_IN)
27
28config: $(CONFIG)/conf
29 @$(CONFIG)/conf $(CONFIG_CONFIG_IN)
30
31# Clean up
32
33clean:
34 rm -f configuration configuration.old error
35 - $(MAKE) -C $(CONFIG) clean
36
37clean-target:
38 rm -f error
39 - $(MAKE) -C $(CONFIG) clean
40
41.PHONY: all menuconfig config clean clean-target
Note: See TracBrowser for help on using the repository browser.