summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-09-29 14:13:47 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-09-29 14:13:47 +0000
commitec5cc80aff948eceee5b322bc19cf3e4e65a7c3a (patch)
treeb351a5b996899f440d24f6f04fab18f9d8a57efb /Makefile
parent59d92e68854412a0ad81ec287e6c44a583bce140 (diff)
downloaddrakx-backup-do-not-use-ec5cc80aff948eceee5b322bc19cf3e4e65a7c3a.tar
drakx-backup-do-not-use-ec5cc80aff948eceee5b322bc19cf3e4e65a7c3a.tar.gz
drakx-backup-do-not-use-ec5cc80aff948eceee5b322bc19cf3e4e65a7c3a.tar.bz2
drakx-backup-do-not-use-ec5cc80aff948eceee5b322bc19cf3e4e65a7c3a.tar.xz
drakx-backup-do-not-use-ec5cc80aff948eceee5b322bc19cf3e4e65a7c3a.zip
no_comment
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 2fce9217a..38b203ea6 100644
--- a/Makefile
+++ b/Makefile
@@ -3,9 +3,9 @@ BINS = install/install install/local-install install/installinit/init
DIRS = install install/installinit mouseconfig perl-install ddcprobe
-.PHONY: $(BOOT_IMG) $(FLOPPY_IMG) $(BINS) update_kernel
+.PHONY: $(DIRS) $(BOOT_IMG) $(FLOPPY_IMG) $(BINS) update_kernel
-all: $(BOOT_IMG)
+all: $(DIRS) $(BOOT_IMG)
mkdir /export/images 2>/dev/null ; true
cp -f $(BOOT_IMG) /export/images
@@ -15,6 +15,9 @@ clean:
for i in $(DIRS); do make -C $$i clean; done
find . -name "*~" -o -name ".#*" | xargs rm -f
+$(DIRS):
+ make -C $@
+
$(BOOT_IMG): $(BINS)
if [ ! -e modules ]; then $(MAKE) update_kernel; fi
./make_boot_img $@ $(@:gi_%.img=%)
@@ -22,6 +25,8 @@ $(BOOT_IMG): $(BINS)
$(BINS):
$(MAKE) -C `dirname $@`
+tar: clean
+ cd .. ; tar cfy gi.tar.bz2 gi
update_kernel:
cd install ; ln -sf ../kernel/cardmgr/* .