mirror of
https://github.com/Zygo/bees.git
synced 2025-06-15 17:26:15 +02:00
Generalize sed invocation rule
Remove the redundant sed call by generalizing the rule to apply sed to .in templates. Signed-off-by: Kai Krakow <kai@kaishome.de>
This commit is contained in:
5
Makefile
5
Makefile
@ -25,10 +25,7 @@ test: ## Run tests
|
||||
test: lib src
|
||||
$(MAKE) -C test
|
||||
|
||||
scripts/beesd: scripts/beesd.in
|
||||
sed -e's#@LIBEXEC_PREFIX@#$(LIBEXEC_PREFIX)#' -e's#@PREFIX@#$(PREFIX)#' "$<" >"$@"
|
||||
|
||||
scripts/beesd@.service: scripts/beesd@.service.in
|
||||
scripts/%: scripts/%.in
|
||||
sed -e's#@LIBEXEC_PREFIX@#$(LIBEXEC_PREFIX)#' -e's#@PREFIX@#$(PREFIX)#' "$<" >"$@"
|
||||
|
||||
scripts: scripts/beesd scripts/beesd@.service
|
||||
|
Reference in New Issue
Block a user