summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2025-03-30 17:41:03 -0300
committerEuAndreh <eu@euandre.org>2025-03-30 17:41:03 -0300
commitefec6950e1f7960f0a2325ef3d44f3df0d5ddb17 (patch)
tree3875d09806732a933f171a6b8322265faa66c405
parentsrc/content/blog/: Upgrade 4 files to asciidoc (diff)
downloadeuandre.org-efec6950e1f7960f0a2325ef3d44f3df0d5ddb17.tar.gz
euandre.org-efec6950e1f7960f0a2325ef3d44f3df0d5ddb17.tar.xz
Makefile, mkdeps.sh: Silent commands that are already too big, and will get bigger
-rw-r--r--Makefile6
-rw-r--r--deps.mk15
-rwxr-xr-xmkdeps.sh4
3 files changed, 17 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 71acf31..1c8d220 100644
--- a/Makefile
+++ b/Makefile
@@ -206,11 +206,13 @@ src/content/.well-known/security.txt: email.txt baseurl.txt expiry.txt
printf 'Preferred-Languages: en, pt, fr, eo, es\n' >> $@
install.html.txt: $(all-contents) $(sources.snippets) $(sources.snippets.gz)
- find $(all-contents) `cat $(sources.snippets) $(sources.snippets.gz)` \
+ @echo '# find ... > $@. Use -n of make(1) for full listing.'
+ @find $(all-contents) `cat $(sources.snippets) $(sources.snippets.gz)` \
| sed 's|^src/content/||' > $@
install.src.txt: $(sources)
- find $(sources) | sed 's|^src/content/||' > $@
+ @echo '# find ... > $@. Use -n of make(1) for full listing.'
+ @find $(sources) | sed 's|^src/content/||' > $@
diff --git a/deps.mk b/deps.mk
index 4b978d8..7ae0b7b 100644
--- a/deps.mk
+++ b/deps.mk
@@ -572,7 +572,8 @@ articles.blog.feedentry = $(articles.blog.adoc:.adoc=.feedentry)
src/content/blog/index.htmldeps: $(articles.blog.indexentry)
src/content/blog/feed.xmldeps: $(articles.blog.feedentry)
src/content/blog/index.htmldeps src/content/blog/feed.xmldeps: $(articles.blog.sortdata)
- find $(articles.blog.sortdata) > $@
+ @echo '# find ... > $@. Use -n of make(1) for full listing.'
+ @find $(articles.blog.sortdata) > $@
src/content/blog/feed.xml: src/content/blog/feed.xmldeps
@@ -607,7 +608,8 @@ articles.pastebins.feedentry = $(articles.pastebins.adoc:.adoc=.feedentry)
src/content/pastebins/index.htmldeps: $(articles.pastebins.indexentry)
src/content/pastebins/feed.xmldeps: $(articles.pastebins.feedentry)
src/content/pastebins/index.htmldeps src/content/pastebins/feed.xmldeps: $(articles.pastebins.sortdata)
- find $(articles.pastebins.sortdata) > $@
+ @echo '# find ... > $@. Use -n of make(1) for full listing.'
+ @find $(articles.pastebins.sortdata) > $@
src/content/pastebins/feed.xml: src/content/pastebins/feed.xmldeps
@@ -621,7 +623,8 @@ articles.podcasts.feedentry = $(articles.podcasts.adoc:.adoc=.feedentry)
src/content/podcasts/index.htmldeps: $(articles.podcasts.indexentry)
src/content/podcasts/feed.xmldeps: $(articles.podcasts.feedentry)
src/content/podcasts/index.htmldeps src/content/podcasts/feed.xmldeps: $(articles.podcasts.sortdata)
- find $(articles.podcasts.sortdata) > $@
+ @echo '# find ... > $@. Use -n of make(1) for full listing.'
+ @find $(articles.podcasts.sortdata) > $@
src/content/podcasts/feed.xml: src/content/podcasts/feed.xmldeps
@@ -635,7 +638,8 @@ articles.screencasts.feedentry = $(articles.screencasts.adoc:.adoc=.feedentry)
src/content/screencasts/index.htmldeps: $(articles.screencasts.indexentry)
src/content/screencasts/feed.xmldeps: $(articles.screencasts.feedentry)
src/content/screencasts/index.htmldeps src/content/screencasts/feed.xmldeps: $(articles.screencasts.sortdata)
- find $(articles.screencasts.sortdata) > $@
+ @echo '# find ... > $@. Use -n of make(1) for full listing.'
+ @find $(articles.screencasts.sortdata) > $@
src/content/screencasts/feed.xml: src/content/screencasts/feed.xmldeps
@@ -671,6 +675,7 @@ articles.tils.feedentry = $(articles.tils.adoc:.adoc=.feedentry)
src/content/tils/index.htmldeps: $(articles.tils.indexentry)
src/content/tils/feed.xmldeps: $(articles.tils.feedentry)
src/content/tils/index.htmldeps src/content/tils/feed.xmldeps: $(articles.tils.sortdata)
- find $(articles.tils.sortdata) > $@
+ @echo '# find ... > $@. Use -n of make(1) for full listing.'
+ @find $(articles.tils.sortdata) > $@
src/content/tils/feed.xml: src/content/tils/feed.xmldeps
diff --git a/mkdeps.sh b/mkdeps.sh
index 7698d7f..8815426 100755
--- a/mkdeps.sh
+++ b/mkdeps.sh
@@ -81,6 +81,8 @@ for colllink in src/collections/*; do
printf '%s/index.htmldeps %s/feed.xmldeps: $(articles.%s.sortdata)\n' \
"$c" "$c" "$name"
- printf '\tfind $(articles.%s.sortdata) > $@\n\n' "$name"
+ printf '\t@echo %s# find ... > $@.' "'"
+ printf ' Use -n of make(1) for full listing.%s\n' "'"
+ printf '\t@find $(articles.%s.sortdata) > $@\n\n' "$name"
printf '%s/feed.xml:\t%s/feed.xmldeps\n' "$c" "$c"
done