mirror of
https://github.com/dirtbags/moth.git
synced 2025-01-08 04:51:06 -07:00
20 lines
488 B
Makefile
20 lines
488 B
Makefile
LOGGER_PKGDIR = $(TARGET)/logger
|
|
|
|
logger-install: logger-build
|
|
mkdir -p $(LOGGER_PKGDIR)
|
|
|
|
mkdir -p $(LOGGER_PKGDIR)/bin/
|
|
$(MAKE) -C packages/logger/src install DESTDIR=$(CURDIR)/$(LOGGER_PKGDIR)
|
|
|
|
$(call COPYTREE, packages/logger/tokens, $(LOGGER_PKGDIR)/tokens)
|
|
|
|
$(call COPYTREE, packages/logger/service, $(LOGGER_PKGDIR)/service)
|
|
|
|
logger-clean:
|
|
rm -rf $(LOGGER_PKGDIR)
|
|
$(MAKE) -C packages/logger/src clean
|
|
|
|
logger-build:
|
|
$(MAKE) -C packages/logger/src build
|
|
|
|
PACKAGES += logger
|