Only copy examples with dots.

This commit is contained in:
David Newhall II 2019-06-29 20:00:55 -07:00
parent 0c8badfdec
commit a47e4685be
1 changed files with 3 additions and 1 deletions

View File

@ -31,6 +31,8 @@ DATE:=$(shell date)
# 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)
# Makefile targets follow.
all: man build
# 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 examples/$(CONFIG_FILE).example $@/etc/$(BINARY)/
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.
cp init/systemd/$(BINARY).service $@/lib/systemd/system/