2005-04-21 16:53:53 +02:00
|
|
|
|
2005-05-03 10:56:01 +02:00
|
|
|
ETC=/etc/
|
|
|
|
USRETC=/usr/etc/
|
2007-08-15 14:56:35 +02:00
|
|
|
FILES1=fstab group hostname.file inet.conf motd.install mtab passwd profile \
|
|
|
|
protocols rc services termcap ttytab utmp rc.cd binary_sizes \
|
2010-01-05 20:39:27 +01:00
|
|
|
binary_sizes.big binary_sizes.xxl syslog.conf rc.daemons.dist \
|
|
|
|
rs.inet rs.single make.conf system.conf
|
2005-04-21 16:53:53 +02:00
|
|
|
FILES2=shadow
|
2005-04-25 15:50:26 +02:00
|
|
|
FILES3=daily dhcptags.conf rc
|
2010-02-16 15:41:33 +01:00
|
|
|
DIR1=mk
|
2005-04-21 16:53:53 +02:00
|
|
|
|
|
|
|
all::
|
|
|
|
|
|
|
|
clean::
|
|
|
|
|
|
|
|
install::
|
2005-04-25 15:50:26 +02:00
|
|
|
@echo "Installing /etc and /usr/etc.."
|
2005-04-21 16:53:53 +02:00
|
|
|
mkdir -p $(ETC)
|
2005-05-03 17:41:02 +02:00
|
|
|
@for f in $(FILES1); do if [ -f $(ETC)/$$f ]; then :; else cp $$f $(ETC)/$$f; chmod 755 $(ETC)/$$f; fi; done
|
|
|
|
@for f in $(FILES2); do if [ -f $(ETC)/$$f ]; then :; else cp $$f $(ETC)/$$f; chmod 600 $(ETC)/$$f; fi; done
|
2010-02-16 15:41:33 +01:00
|
|
|
@for d in $(DIR1); do if [ -d $(ETC)/$$d ]; then :; else cp -r $$d $(ETC)/; chmod -r 755 $(ETC)/$$d; fi; done
|
2005-04-21 16:53:53 +02:00
|
|
|
@echo "Making hierarchy.."
|
2005-05-03 17:41:02 +02:00
|
|
|
sh mtree.sh mtree/minix.tree
|
|
|
|
@for f in $(FILES3); do if [ -f $(USRETC)/$$f ]; then :; else cp usr/$$f $(USRETC); chmod 755 $(USRETC)/$$f; fi; done
|
|
|
|
@echo "Making devices.."
|
2005-09-30 13:45:59 +02:00
|
|
|
p=`pwd` && cd /dev && sh $$p/../commands/scripts/MAKEDEV.sh null
|
|
|
|
p=`pwd` && cd /dev && sh $$p/../commands/scripts/MAKEDEV.sh std 2>/dev/null
|
2007-04-02 18:18:46 +02:00
|
|
|
install -o bin -g operator -m 755 crontab /usr/lib
|
2005-05-03 17:41:02 +02:00
|
|
|
@echo "Making user homedirs.."
|
2006-12-22 16:48:27 +01:00
|
|
|
for u in /usr/ast ~root; do cp ast/.[aepv]* $$u ; done
|
2007-05-16 15:00:43 +02:00
|
|
|
@echo "Installing fonts.."
|
|
|
|
install -m 644 -o bin -g operator fonts/*.fnt /usr/lib/fonts/
|
2005-08-29 21:38:39 +02:00
|
|
|
|
|
|
|
postinstall:
|
2005-09-08 14:21:45 +02:00
|
|
|
binsizes normal
|
2005-08-29 21:38:39 +02:00
|
|
|
|