~sircmpwn/sr.ht-dev

core.sr.ht: Makefile: consistently use $(MODULE) v1 APPLIED

Conrad Hoffmann: 1
 Makefile: consistently use $(MODULE)

 1 files changed, 2 insertions(+), 3 deletions(-)
#1229539 alpine.yml success
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches/52901/mbox | git am -3
Learn more about email & git

[PATCH core.sr.ht] Makefile: consistently use $(MODULE) Export this patch

The target in question currently seems to not cause any issues, but it
does when switching dependents to the modern Python module structure,
where the build tools will build the package in a temporary virtual
environment.
---
 srht/Makefile | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/srht/Makefile b/srht/Makefile
index 8c034fc..1179775 100644
--- a/srht/Makefile
+++ b/srht/Makefile
@@ -26,9 +26,8 @@ $(MODULE)static/main.css: scss/*.scss ${SRHT_PATH}/scss/*.scss
	sassc -I${SRHT_PATH}/scss scss/main.scss $@

$(MODULE)static/main.min.css: $(MODULE)static/main.css
	minify -o static/main.min.css static/main.css
	cp static/main.min.css \
		static/main.min.$$(sha256sum static/main.min.css | cut -c1-8).css
	minify -o $@ $<
	cp $@ $(MODULE)static/main.min.$$(sha256sum $@ | cut -c1-8).css

$(MODULE)static/%.js: js/%.js
	@mkdir -p $(MODULE)static/
-- 
2.45.1
core.sr.ht/patches/alpine.yml: SUCCESS in 47s

[Makefile: consistently use $(MODULE)][0] from [Conrad Hoffmann][1]

[0]: https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches/52901
[1]: mailto:ch@bitfehler.net

✓ #1229539 SUCCESS core.sr.ht/patches/alpine.yml https://builds.sr.ht/~sircmpwn/job/1229539
Thanks!

To git@git.sr.ht:~sircmpwn/core.sr.ht
   8c9fb04..1258f0e  master -> master