Add install target
This commit is contained in:
		
							parent
							
								
									e049d5a2d7
								
							
						
					
					
						commit
						1efb62190a
					
				
							
								
								
									
										4
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								Makefile
									
									
									
									
									
								
							@ -1,4 +1,5 @@
 | 
				
			|||||||
LIBRESSL_PREFIX = /usr/local /usr/local/opt/libressl
 | 
					LIBRESSL_PREFIX = /usr/local /usr/local/opt/libressl
 | 
				
			||||||
 | 
					PREFIX = ~/.local
 | 
				
			||||||
CHROOT_USER = chat
 | 
					CHROOT_USER = chat
 | 
				
			||||||
CHROOT_GROUP = $(CHROOT_USER)
 | 
					CHROOT_GROUP = $(CHROOT_USER)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -30,6 +31,9 @@ $(OBJS): chat.h
 | 
				
			|||||||
tags: *.h *.c
 | 
					tags: *.h *.c
 | 
				
			||||||
	ctags -w *.h *.c
 | 
						ctags -w *.h *.c
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					install: chatte
 | 
				
			||||||
 | 
						install chatte $(PREFIX)/bin/chatte
 | 
				
			||||||
 | 
					
 | 
				
			||||||
chroot.tar: chatte
 | 
					chroot.tar: chatte
 | 
				
			||||||
	mkdir -p root
 | 
						mkdir -p root
 | 
				
			||||||
	install -d -o root -g wheel \
 | 
						install -d -o root -g wheel \
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user