[cpp-linbuild] 05/25: Create products directories as necessary, and keep out of git

Scott Cantor cantor.2 at osu.edu
Mon Apr 5 12:46:48 UTC 2021


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch main
in repository cpp-linbuild.

View the commit online:
http://git.shibboleth.net/view/?p=cpp-linbuild.git;a=commit;h=be459ce66d61717c266689f537108dbf87c0620c

commit be459ce66d61717c266689f537108dbf87c0620c
Author: John W. O'Brien <john at saltant.com>
AuthorDate: Sun Dec 6 18:13:31 2020 -0500

    Create products directories as necessary, and keep out of git
---
 Makefile      | 1 +
 os/.gitignore | 1 +
 2 files changed, 2 insertions(+)

diff --git a/Makefile b/Makefile
index 83d2e0f..5aae37c 100644
--- a/Makefile
+++ b/Makefile
@@ -192,6 +192,7 @@ images: $(foreach platform,$(PLATFORMS),$(platform)-image)
 define build-component-platform
 $(1)_$(2)_token = $(srcdir).$(1)_$(2)_products
 $$($(1)_$(2)_token): $$($(2)_token) $(SOURCEDIR)/$$($(1)_DISTFILE) $(SPECDIR)/$$($(1)_COMPNAME).spec
+	mkdir -p $(srcdir)os/$(2)/products/{RPMS,SRPMS}
 	docker run -it --rm \
 		--mount type=bind,source=$(srcdir)os/$(2)/products,target=/opt/build/external/out \
 		--mount type=bind,source=$(srcdir)common,target=/opt/build/external/in \
diff --git a/os/.gitignore b/os/.gitignore
new file mode 100644
index 0000000..abb4e77
--- /dev/null
+++ b/os/.gitignore
@@ -0,0 +1 @@
+*/products

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list