ablfs-more
legacy
trunk
Last change
on this file since 91b7b5f was 65c998b, checked in by Pierre Labastie <pierre@…>, 12 years ago |
Add some logic to makefile and jhalfs, so that when exiting the configuration
menu without saving, you have the choice of exiting jhalfs
|
-
Property mode
set to
100644
|
File size:
825 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 | TOPDIR=$(shell pwd)
|
---|
6 | CONFIG_CONFIG_IN = Config.in
|
---|
7 | CONFIG = menu
|
---|
8 |
|
---|
9 | all: menuconfig
|
---|
10 | # @clear
|
---|
11 | @`grep RUN_ME configuration | sed -e 's@RUN_ME=\"@@' -e 's@\"@@' `
|
---|
12 |
|
---|
13 | $(CONFIG)/conf:
|
---|
14 | $(MAKE) -C $(CONFIG) conf
|
---|
15 |
|
---|
16 | $(CONFIG)/mconf:
|
---|
17 | $(MAKE) -C $(CONFIG) ncurses conf mconf
|
---|
18 |
|
---|
19 | menuconfig: $(CONFIG)/mconf
|
---|
20 | -@cp -a configuration configuration.old
|
---|
21 | @$(CONFIG)/mconf $(CONFIG_CONFIG_IN)
|
---|
22 |
|
---|
23 | config: $(CONFIG)/conf
|
---|
24 | @$(CONFIG)/conf $(CONFIG_CONFIG_IN)
|
---|
25 |
|
---|
26 | # Clean up
|
---|
27 |
|
---|
28 | clean:
|
---|
29 | rm -f configuration configuration.old error
|
---|
30 | - $(MAKE) -C $(CONFIG) clean
|
---|
31 |
|
---|
32 | clean-target:
|
---|
33 | rm -f error
|
---|
34 | - $(MAKE) -C $(CONFIG) clean
|
---|
35 |
|
---|
36 | .PHONY: all menuconfig config clean clean-target
|
---|
Note:
See
TracBrowser
for help on using the repository browser.