#!/usr/bin/perl # Yves Duret # license: GPL use lib qw(/usr/lib/libDrakX); use interactive; my $irq=1; my $login; my $login2="editable"; my $check; my $range=57; my $in = 'interactive'->vnew(undef, 'default'); $in->ask_from("window title - ask_from", "message\nexamples of utilisation of ask_from", [ { label => "enter scalar", val => \$irq }, { label => "combo (type=>combo optionnal)", val => \$login, list => ['Netherlands', 'France', 'Belgium', 'Italy', 'UK'], type => 'combo'}, { label => "choose from list editable and sorted", val => \$login2, list => ['Netherlands', 'France', 'Belgium', 'Italy', 'UK'], not_edit => 0, sort => 1}, { label => "check box", val => \$check, type => "bool", text => "text" }, { label => "range", val => \$range, type => 'range', min => 0, max => 100 }, ], complete => sub { print "complete\n";print "$irq\n$login\n$range\n"; }, # focus_out => sub { print "focus_out\n"}, # changed => sub { print "changed\n"; }, ) or $in->exit(0); $in->exit(0); 0 Mageia Installer and base platform for many utilitiesThierry Vignaud [tv]
summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-01-16 23:08:46 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-01-16 23:08:46 +0000
commit3b9b604eb1802c5f546bd444dae32e179bbb7d20 (patch)
treeb7b1cdf32f2e12fa65a932f24722e12a89b59bb3 /Makefile
parentcc29fc49a0427da3225c4d77f95827bed24073f7 (diff)
downloaddrakx-3b9b604eb1802c5f546bd444dae32e179bbb7d20.tar
drakx-3b9b604eb1802c5f546bd444dae32e179bbb7d20.tar.gz
drakx-3b9b604eb1802c5f546bd444dae32e179bbb7d20.tar.bz2
drakx-3b9b604eb1802c5f546bd444dae32e179bbb7d20.tar.xz
drakx-3b9b604eb1802c5f546bd444dae32e179bbb7d20.zip
no_comment
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 7c6fdb3f7..f38adb075 100644
--- a/Makefile
+++ b/Makefile
@@ -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