From 3f753fa61833ad049ce5d3cf9056350d395f1d82 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 19 Oct 2020 13:42:28 -0700 Subject: [PATCH] Revert "Generalize building of multifile packages" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit cd067e3673a62143ed2e05edf163088c77d35f38. On the build runner this ends up trying to build ‘oni-scheme.el’ as a multifile package. It doesn’t seem to notice the distinction between the regular files and directories. --- GNUmakefile | 44 +++++++++++++++++++++++++++++++++++++++----- 1 file changed, 39 insertions(+), 5 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index 5fa67ef..a8ec5c5 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -1,8 +1,6 @@ FILES := $(wildcard oni-*.el) -DIRECTORIES := $(wildcard oni-*/) PACKAGE_TARGETS := $(addprefix package-,$(FILES)) -MULTIPACKAGE_TARGETS := $(addprefix multipackage-,$(subst /, ,$(DIRECTORIES))) define upload = emacs --batch \ @@ -16,13 +14,49 @@ define upload-multi-file = cp $1/dist/$1-readme.txt bin/ endef -package: $(PACKAGE_TARGETS) $(MULTIPACKAGE_TARGETS) +package: $(PACKAGE_TARGETS) package-oni-conf package-oni-css package-oni-elisp \ + package-oni-haml package-oni-html package-oni-nxml package-oni-org \ + package-oni-php package-oni-python package-oni-ruby package-oni-twig \ + package-oni-csharp package-%: % $(call upload,\"$^\") -multipackage-%: % - $(call upload-multi-file,$^) +package-oni-conf: + $(call upload-multi-file,oni-conf) + +package-oni-css: + $(call upload-multi-file,oni-css) + +package-oni-elisp: + $(call upload-multi-file,oni-elisp) + +package-oni-haml: + $(call upload-multi-file,oni-haml) + +package-oni-html: + $(call upload-multi-file,oni-html) + +package-oni-nxml: + $(call upload-multi-file,oni-nxml) + +package-oni-org: + $(call upload-multi-file,oni-org) + +package-oni-php: + $(call upload-multi-file,oni-php) + +package-oni-python: + $(call upload-multi-file,oni-python) + +package-oni-ruby: + $(call upload-multi-file,oni-ruby) + +package-oni-twig: + $(call upload-multi-file,oni-twig) + +package-oni-csharp: + $(call upload-multi-file,oni-csharp) install-%: emacs --batch \