From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 81D7659CA3 for ; Sun, 6 Mar 2016 12:03:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1730121C075 for ; Sun, 6 Mar 2016 12:03:14 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E20FBE07A7 for ; Sun, 6 Mar 2016 00:23:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0BFD6340A99 for ; Sun, 6 Mar 2016 00:23:12 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7300618A5 for ; Sun, 6 Mar 2016 00:23:07 +0000 (UTC) From: "Tim Harder" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tim Harder" Message-ID: <1457223675.10d8b4bd5e8db6c3f919af2162199bc8007c85ca.radhermit@gentoo> Subject: [gentoo-commits] proj/gentoo-syntax:master commit in: / X-VCS-Repository: proj/gentoo-syntax X-VCS-Files: Makefile X-VCS-Directories: / X-VCS-Committer: radhermit X-VCS-Committer-Name: Tim Harder X-VCS-Revision: 10d8b4bd5e8db6c3f919af2162199bc8007c85ca X-VCS-Branch: master Date: Sun, 6 Mar 2016 00:23:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 80f71b4c-bbdc-46bc-869a-0e29f5194187 X-Archives-Hash: cac74577b96cbe95c50b7ddac7f4cf1d commit: 10d8b4bd5e8db6c3f919af2162199bc8007c85ca Author: Tim Harder gentoo org> AuthorDate: Sun Mar 6 00:21:15 2016 +0000 Commit: Tim Harder gentoo org> CommitDate: Sun Mar 6 00:21:15 2016 +0000 URL: https://gitweb.gentoo.org/proj/gentoo-syntax.git/commit/?id=10d8b4bd makefile: glob files instead of explicitly listing each one This assumes we'll be installing all files within the related vim plugin dirs, but cruft shouldn't be put in those directories anyway. Makefile | 67 ++++++++-------------------------------------------------------- 1 file changed, 8 insertions(+), 59 deletions(-) diff --git a/Makefile b/Makefile index c2f49ec..6ffdd86 100644 --- a/Makefile +++ b/Makefile @@ -6,65 +6,14 @@ distpkg := $(distapp)-$(distver) PREFIX = ${HOME}/.vim/ -files_vars = \ - files_doc \ - files_ftdetect \ - files_ftplugin \ - files_indent \ - files_plugin \ - files_syntax - -files_doc = \ - doc/gentoo-syntax.txt - -files_ftdetect = \ - ftdetect/gentoo.vim - -files_ftplugin = \ - ftplugin/ebuild.vim \ - ftplugin/gentoo-changelog.vim \ - ftplugin/gentoo-conf-d.vim \ - ftplugin/gentoo-env-d.vim \ - ftplugin/gentoo-init-d.vim \ - ftplugin/gentoo-make-conf.vim \ - ftplugin/gentoo-metadata.vim \ - ftplugin/gentoo-package-keywords.vim \ - ftplugin/gentoo-package-license.vim \ - ftplugin/gentoo-package-mask.vim \ - ftplugin/gentoo-package-properties.vim \ - ftplugin/gentoo-package-use.vim \ - ftplugin/gentoo-use-desc.vim - -files_indent = \ - indent/ebuild.vim \ - indent/gentoo-metadata.vim - -files_plugin = \ - plugin/gentoo-common.vim \ - plugin/newebuild.vim \ - plugin/newmetadata.vim \ - plugin/newinitd.vim - -files_syntax = \ - syntax/ebuild.vim \ - syntax/gentoo-changelog.vim \ - syntax/gentoo-common.vim \ - syntax/gentoo-conf-d.vim \ - syntax/gentoo-env-d.vim \ - syntax/gentoo-init-d.vim \ - syntax/gentoo-make-conf.vim \ - syntax/gentoo-metadata.vim \ - syntax/gentoo-mirrors.vim \ - syntax/gentoo-package-keywords.vim \ - syntax/gentoo-package-license.vim \ - syntax/gentoo-package-mask.vim \ - syntax/gentoo-package-properties.vim \ - syntax/gentoo-package-use.vim \ - syntax/gentoo-use-desc.vim \ - syntax/glep.vim \ - syntax/guidexml.vim - -files = $(foreach f, $(files_vars), $($(f)) ) +files = $(wildcard \ + doc/* \ + ftdetect/* \ + ftplugin/* \ + indent/* \ + plugin/* \ + syntax/* \ +) scripts: ${files}