only print 1 every 1000 spurious interrupts (per interrupt).
[minix.git] / etc / Makefile
blobf900393b27a413d63faf9c9ab6318a402f3680e9
2 ETC=/etc/
3 USRETC=/usr/etc/
4 FILES1=fstab group hostname.file inet.conf motd.install mtab passwd profile \
5 protocols rc services termcap ttytab utmp rc.cd binary_sizes \
6 binary_sizes.big binary_sizes.xxl syslog.conf rc.daemons.dist \
7 rs.inet rs.single make.conf system.conf
8 FILES2=shadow
9 FILES3=daily dhcptags.conf rc
10 DIR1=mk
12 all::
14 clean::
16 install::
17 @echo "Installing /etc and /usr/etc.."
18 mkdir -p $(ETC)
19 @for f in $(FILES1); do if [ -f $(ETC)/$$f ]; then :; else cp $$f $(ETC)/$$f; chmod 755 $(ETC)/$$f; fi; done
20 @for f in $(FILES2); do if [ -f $(ETC)/$$f ]; then :; else cp $$f $(ETC)/$$f; chmod 600 $(ETC)/$$f; fi; done
21 @echo "Making hierarchy.."
22 sh mtree.sh mtree/minix.tree
23 @for f in $(FILES3); do if [ -f $(USRETC)/$$f ]; then :; else cp usr/$$f $(USRETC); chmod 755 $(USRETC)/$$f; fi; done
24 @echo "Installing /etc/mk.."
25 rm $(ETC)/$(DIR1)/*
26 cp $(DIR1)/*.mk $(ETC)/$(DIR1)
27 chmod 644 $(ETC)/$(DIR1)/*
28 chown bin $(ETC)/$(DIR1)/*
29 @echo "Making devices.."
30 p=`pwd` && cd /dev && sh $$p/../commands/scripts/MAKEDEV.sh null
31 p=`pwd` && cd /dev && sh $$p/../commands/scripts/MAKEDEV.sh std 2>/dev/null
32 install -o bin -g operator -m 755 crontab /usr/lib
33 @echo "Making user homedirs.."
34 for u in /usr/ast ~root; do cp ast/.[aepv]* $$u ; done
35 @echo "Installing fonts.."
36 install -m 644 -o bin -g operator fonts/*.fnt /usr/lib/fonts/
38 postinstall:
39 binsizes normal