]> git.cworth.org Git - turbot/commit
Makefile: Fix DO_NOT_DEPLOY implementation to work with multiple files
authorCarl Worth <cworth@cworth.org>
Tue, 29 Sep 2020 22:02:57 +0000 (15:02 -0700)
committerCarl Worth <cworth@cworth.org>
Tue, 29 Sep 2020 22:02:57 +0000 (15:02 -0700)
commit8770b6ecd5b308ceecf0aa30f9fb651ee9087ba5
tree1138443f02327453d9855115b30258be83bc7b93
parentbf32b227dfeee7d1c6fef6ac1ed352fdd3f8683a
Makefile: Fix DO_NOT_DEPLOY implementation to work with multiple files

The --exclude option to rsync expects a single file, so we need to
arrange to pass it multiple times if we have multiple files in the
value of the DO_NOT_DEPLOY variable. Fortunately, this is a perfect
job for patsubst.
Makefile