update /etc on make world
This commit is contained in:
		
							parent
							
								
									3e3d627b25
								
							
						
					
					
						commit
						a5741a465f
					
				
							
								
								
									
										7
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										7
									
								
								Makefile
									
									
									
									
									
								
							@ -31,9 +31,9 @@ usage:
 | 
				
			|||||||
# 
 | 
					# 
 | 
				
			||||||
# etcfiles has to be done first.
 | 
					# etcfiles has to be done first.
 | 
				
			||||||
.if ${COMPILER_TYPE} == "ack"
 | 
					.if ${COMPILER_TYPE} == "ack"
 | 
				
			||||||
world: mkfiles includes depend libraries install
 | 
					world: mkfiles includes depend libraries install etcforce
 | 
				
			||||||
.elif ${COMPILER_TYPE} == "gnu"
 | 
					.elif ${COMPILER_TYPE} == "gnu"
 | 
				
			||||||
world: mkfiles includes depend gnu-libraries install
 | 
					world: mkfiles includes depend gnu-libraries install etcforce
 | 
				
			||||||
.endif
 | 
					.endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
mkfiles:
 | 
					mkfiles:
 | 
				
			||||||
@ -73,6 +73,9 @@ depend::
 | 
				
			|||||||
etcfiles::
 | 
					etcfiles::
 | 
				
			||||||
	$(MAKE) -C etc install
 | 
						$(MAKE) -C etc install
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					etcforce::
 | 
				
			||||||
 | 
						$(MAKE) -C etc installforce
 | 
				
			||||||
 | 
					
 | 
				
			||||||
all::
 | 
					all::
 | 
				
			||||||
	$(MAKE) -C boot all
 | 
						$(MAKE) -C boot all
 | 
				
			||||||
	$(MAKE) -C commands all
 | 
						$(MAKE) -C commands all
 | 
				
			||||||
 | 
				
			|||||||
@ -1,3 +1,10 @@
 | 
				
			|||||||
 | 
					20100827:
 | 
				
			||||||
 | 
						From now on, the rc scripts, recovery scripts and system.conf in /etc
 | 
				
			||||||
 | 
						and /usr/etc are updated automatically by make world. If you want to
 | 
				
			||||||
 | 
						change them, do so in the source tree. If you make changes to your
 | 
				
			||||||
 | 
						settings in /etc and /usr/etc, merge them into the the source tree
 | 
				
			||||||
 | 
						before issuing a make world.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
20100805:
 | 
					20100805:
 | 
				
			||||||
	mkfs and fsck have been renamed to mkfs.mfs and fsck.mfs, respectively.
 | 
						mkfs and fsck have been renamed to mkfs.mfs and fsck.mfs, respectively.
 | 
				
			||||||
	Moreover, they have been moved to /sbin, which is by default not in
 | 
						Moreover, they have been moved to /sbin, which is by default not in
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										18
									
								
								etc/Makefile
									
									
									
									
									
								
							
							
						
						
									
										18
									
								
								etc/Makefile
									
									
									
									
									
								
							@ -28,3 +28,21 @@ install::
 | 
				
			|||||||
	for u in /usr/ast ~root; do cp ast/.[aepv]* $$u ; done
 | 
						for u in /usr/ast ~root; do cp ast/.[aepv]* $$u ; done
 | 
				
			||||||
	@echo "Installing fonts.."
 | 
						@echo "Installing fonts.."
 | 
				
			||||||
	install -m 644 -o root -g operator fonts/*.fnt /usr/lib/fonts/
 | 
						install -m 644 -o root -g operator fonts/*.fnt /usr/lib/fonts/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					installforce:: $(ETC)/rc $(ETC)/rs.inet $(ETC)/rs.single $(ETC)/system.conf $(USRETC)/rc
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					$(ETC)/rc: rc
 | 
				
			||||||
 | 
						install -m 755 -o root -g operator $> $@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					$(ETC)/rs.inet: rs.inet
 | 
				
			||||||
 | 
						install -m 755 -o root -g operator $> $@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					$(ETC)/rs.single: rs.single
 | 
				
			||||||
 | 
						install -m 755 -o root -g operator $> $@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					$(ETC)/system.conf: system.conf
 | 
				
			||||||
 | 
						install -m 644 -o root -g operator $> $@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					$(USRETC)/rc: usr/rc
 | 
				
			||||||
 | 
						install -m 755 -o root -g operator $> $@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user