mirror of
				https://github.com/fluffle/goirc
				synced 2025-11-03 19:48:04 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			28 lines
		
	
	
	
		
			658 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
	
		
			658 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
# Copyright 2009 The Go Authors. All rights reserved.
 | 
						|
# Use of this source code is governed by a BSD-style
 | 
						|
# license that can be found in the LICENSE file.
 | 
						|
 | 
						|
include $(GOROOT)/src/Make.inc
 | 
						|
 | 
						|
TARG=rbot
 | 
						|
GOFILES=rbot.go handler.go auth.go cmd-access.go cmd-op.go cmd-google.go
 | 
						|
 | 
						|
include $(GOROOT)/src/Make.cmd
 | 
						|
 | 
						|
all: rbot.conf auth.conf
 | 
						|
 | 
						|
rbot.conf: rbot.conf.example
 | 
						|
	@if [ -f $@ ] ; then \
 | 
						|
		echo "rbot.conf exists, but rbot.conf.example is newer." ; \
 | 
						|
	else \
 | 
						|
		echo cp $< $@ ; \
 | 
						|
		cp $< $@ ; \
 | 
						|
	fi
 | 
						|
 | 
						|
auth.conf: auth.conf.example
 | 
						|
	@if [ -f $@ ] ; then \
 | 
						|
		echo "auth.conf exists, but auth.conf.example is newer." ; \
 | 
						|
	else \
 | 
						|
		echo cp $< $@ ; \
 | 
						|
		cp $< $@ ; \
 | 
						|
	fi
 |