From a47e4685be6118fe9f20b28ad025b7f896f771d8 Mon Sep 17 00:00:00 2001 From: David Newhall II Date: Sat, 29 Jun 2019 20:00:55 -0700 Subject: [PATCH] Only copy examples with dots. --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e65bd1cb..59525791 100644 --- a/Makefile +++ b/Makefile @@ -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/