Only copy examples with dots.
This commit is contained in:
		
							parent
							
								
									0c8badfdec
								
							
						
					
					
						commit
						a47e4685be
					
				
							
								
								
									
										4
									
								
								Makefile
								
								
								
								
							
							
						
						
									
										4
									
								
								Makefile
								
								
								
								
							|  | @ -31,6 +31,8 @@ DATE:=$(shell date) | ||||||
| # Name the Version-containing library the same as the github repo, without dashes.
 | # Name the Version-containing library the same as the github repo, without dashes.
 | ||||||
| VERSION_PATH:=github.com/$(GHUSER)/$(BINARY)/$(shell echo $(BINARY) | tr -d -- -).Version=$(VERSION) | VERSION_PATH:=github.com/$(GHUSER)/$(BINARY)/$(shell echo $(BINARY) | tr -d -- -).Version=$(VERSION) | ||||||
| 
 | 
 | ||||||
|  | # Makefile targets follow.
 | ||||||
|  | 
 | ||||||
| all: man build | all: man build | ||||||
| 
 | 
 | ||||||
| # Prepare a release. Called in Travis CI.
 | # Prepare a release. Called in Travis CI.
 | ||||||
|  | @ -142,7 +144,7 @@ package_build_linux: readme man linux | ||||||
| 	cp *.1.gz $@/usr/share/man/man1 | 	cp *.1.gz $@/usr/share/man/man1 | ||||||
| 	cp examples/$(CONFIG_FILE).example $@/etc/$(BINARY)/ | 	cp examples/$(CONFIG_FILE).example $@/etc/$(BINARY)/ | ||||||
| 	cp examples/$(CONFIG_FILE).example $@/etc/$(BINARY)/$(CONFIG_FILE) | 	cp examples/$(CONFIG_FILE).example $@/etc/$(BINARY)/$(CONFIG_FILE) | ||||||
| 	cp LICENSE *.html examples/* $@/usr/share/doc/$(BINARY)/ | 	cp LICENSE *.html examples/*.* $@/usr/share/doc/$(BINARY)/ | ||||||
| 	# These go to their own folder so the img src in the html pages continue to work. | 	# These go to their own folder so the img src in the html pages continue to work. | ||||||
| 	cp init/systemd/$(BINARY).service $@/lib/systemd/system/ | 	cp init/systemd/$(BINARY).service $@/lib/systemd/system/ | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue