diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-01-16 23:08:46 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-01-16 23:08:46 +0000 |
commit | 3b9b604eb1802c5f546bd444dae32e179bbb7d20 (patch) | |
tree | b7b1cdf32f2e12fa65a932f24722e12a89b59bb3 /Makefile | |
parent | cc29fc49a0427da3225c4d77f95827bed24073f7 (diff) | |
download | drakx-backup-do-not-use-3b9b604eb1802c5f546bd444dae32e179bbb7d20.tar drakx-backup-do-not-use-3b9b604eb1802c5f546bd444dae32e179bbb7d20.tar.gz drakx-backup-do-not-use-3b9b604eb1802c5f546bd444dae32e179bbb7d20.tar.bz2 drakx-backup-do-not-use-3b9b604eb1802c5f546bd444dae32e179bbb7d20.tar.xz drakx-backup-do-not-use-3b9b604eb1802c5f546bd444dae32e179bbb7d20.zip |
no_comment
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -1,7 +1,14 @@ +ARCH := $(patsubst i%86,i386,$(shell uname -m)) +ARCH := $(patsubst sparc%,sparc,$(ARCH)) + BOOT_IMG = hd.img cdrom.img network.img network_ks.img pcmcia.img pcmcia_ks.img BOOT_RDZ = $(BOOT_IMG:%.img=%.rdz) BINS = install/install install/full-install install/local-install install/installinit/init -DIRS = tools install install/installinit perl-install lnx4win +DIRS = tools install install/installinit perl-install +ifeq (i386,$(ARCH)) +DIRS += lnx4win +endif + ROOTDEST = /export UPLOAD_DEST_ = ~/oxygen UPLOAD_DEST = $(UPLOAD_DEST_)/oxygen @@ -9,6 +16,7 @@ UPLOAD_DEST_CONTRIB = $(UPLOAD_DEST_)/contrib AUTOBOOT = $(ROOTDEST)/dosutils/autoboot/mdkinst + .PHONY: dirs $(FLOPPY_IMG) install: build autoboot @@ -48,7 +56,7 @@ $(BOOT_IMG:%=%f): %f: % xmessage "Floppy done" clean: - rm -rf $(BOOT_IMG) $(BINS) modules install_pcmcia_modules vmlinuz System.map + rm -rf $(BOOT_IMG) $(BOOT_RDZ) $(BINS) modules install_pcmcia_modules vmlinuz System.map rm -rf install/*/sbin/install install/*/sbin/init for i in $(DIRS); do make -C $$i clean; done find . -name "*~" -o -name ".#*" | xargs rm -f |