[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 496381cf 5/6: Customize and publish a fardel
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 496381cf 5/6: Customize and publish a fardel |
Date: |
Sun, 5 Jun 2022 20:09:59 -0400 (EDT) |
branch: master
commit 496381cf2718b5e31467f5ac5df6cef09acfa3ed
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Customize and publish a fardel
The 'publish.sh' script is invoked in the makefile where the fardel is
created, because its name is conveniently available only there.
---
publish_fardel.sh | 39 +++++++++++++++++++++++++++++++++++++++
workhorse.make | 1 +
2 files changed, 40 insertions(+)
diff --git a/publish_fardel.sh b/publish_fardel.sh
new file mode 100755
index 00000000..e8f79c78
--- /dev/null
+++ b/publish_fardel.sh
@@ -0,0 +1,39 @@
+#!/bin/sh
+
+# Customize a fardel.
+
+# Copyright (C) 2022 Gregory W. Chicares.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 2 as
+# published by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+#
+# https://savannah.nongnu.org/projects/lmi
+# email: <gchicares@sbcglobal.net>
+# snail: Chicares, 186 Belle Woods Drive, Glastonbury CT 06033, USA
+
+# Customizations:
+# - liberalize expiry range
+# - include '.mst' files, without checksumming them
+# The resulting fardel is suitable for uploading to savannah, as a
+# "trial" version for people who are interested in lmi but cannot
+# easily build it from source. Only 'sample' products are included.
+
+set -x
+
+if [ "greg" != "$(whoami)" ]; then
+ exit 0
+fi
+
+srcdir=$(dirname "$(readlink --canonicalize "$0")")
+
+make j1=2450449 j2=2472011 extra_fardel_files="$srcdir/*.mst" fardel
diff --git a/workhorse.make b/workhorse.make
index 282fa86c..b4ebe75a 100644
--- a/workhorse.make
+++ b/workhorse.make
@@ -1219,6 +1219,7 @@ wrap_fardel:
--directory=$(fardel_root) \
--file=$(fardel_root)/$(fardel_name).zip \
$(fardel_name)
+ @-$(srcdir)/publish.sh $(fardel_root)/$(fardel_name).zip
################################################################################
- [lmi-commits] [lmi] master updated (06e5af60 -> a0472892), Greg Chicares, 2022/06/05
- [lmi-commits] [lmi] master 1a178ef1 1/6: Add a script to upload to savannah, Greg Chicares, 2022/06/05
- [lmi-commits] [lmi] master 742d7a71 2/6: Refactor, Greg Chicares, 2022/06/05
- [lmi-commits] [lmi] master 4c7f90b8 3/6: Prepare to use bsdtar, Greg Chicares, 2022/06/05
- [lmi-commits] [lmi] master 914bc153 4/6: Archive a fardel using another format, Greg Chicares, 2022/06/05
- [lmi-commits] [lmi] master 496381cf 5/6: Customize and publish a fardel,
Greg Chicares <=
- [lmi-commits] [lmi] master a0472892 6/6: Document $(build_type) in a more general way, Greg Chicares, 2022/06/05