Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master sorcery by Ismael Luceno (4bdc59bab7418e4c54f670b7a7db4cff5ac50dfe)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Ismael Luceno <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master sorcery by Ismael Luceno (4bdc59bab7418e4c54f670b7a7db4cff5ac50dfe)
  • Date: Thu, 3 Oct 2019 18:10:19 +0000

GIT changes to master sorcery by Ismael Luceno <ismael AT sourcemage.org>:

ChangeLog | 3 +++
Makefile | 12 ++++++++----
2 files changed, 11 insertions(+), 4 deletions(-)

New commits:
commit 4bdc59bab7418e4c54f670b7a7db4cff5ac50dfe
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

[ChangeLog] Makefile: Make help target portable

commit befbfa1227b84866e20e6dd535be735b1cd526c0
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

Makefile: Make help target portable

diff --git a/ChangeLog b/ChangeLog
index 867d299..f3bf4a3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2019-10-03 Ismael Luceno <ismael AT sourcemage.org>
+ * Makefile: Made help target portable
+
2019-10-01 Ismael Luceno <ismael AT sourcemage.org>
* protected: Added mount and libmount
Added libblkid
diff --git a/Makefile b/Makefile
index 431a0ee..9ceb372 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
.PHONY: help
-help:; @echo '$(help)'
-help = Available targets:
+help:
+ @awk 'sub(/^#HELP: ?/, "")' $(MAKEFILE_LIST) $(.MAKE.MAKEFILES)

BRANCH = stable
release = sorcery-$(BRANCH).tar.bz2
@@ -13,11 +13,12 @@ $(release): $(ts-scm)
&& mv "$$tmp" $(release) \
|| rm -f "$$tmp"

-help += $(.newline) release - Make a release
+#HELP: Available targets:
+#HELP: release - Make a release
.PHONY: release
release: $(release)

-help += $(.newline) bump - Bump version
+#HELP: bump - Bump version
.PHONY: bump bump-stable bump-devel
bump-stable:
git describe --tags | >etc/sorcery/version \
@@ -28,6 +29,9 @@ bump-devel:

bump: bump-$(BRANCH)

+#HELP: install - Install sorcery
+#HELP: uninstall - Uninstall sorcery
+#HELP: convert - Convert from Pre 0.8.x grimoire to new codex format
script-targets = install uninstall convert
.PHONY: $(script-targets)
$(script-targets):; ./$@



  • [SM-Commit] GIT changes to master sorcery by Ismael Luceno (4bdc59bab7418e4c54f670b7a7db4cff5ac50dfe), Ismael Luceno, 10/03/2019

Archive powered by MHonArc 2.6.24.

Top of Page