mirror of https://github.com/dirtbags/moth.git
20 lines
514 B
Makefile
20 lines
514 B
Makefile
REVWORDS_PKGDIR = $(TARGET)/revwords
|
|
REVWORDS_BUILDDIR = $(BUILD)/revwords
|
|
|
|
revwords-install: revwords-build
|
|
mkdir -p $(REVWORDS_PKGDIR)/bin/
|
|
|
|
$(call COPYTREE, packages/revwords/service, $(REVWORDS_PKGDIR)/service)
|
|
|
|
cp packages/revwords/tokens.txt $(REVWORDS_PKGDIR)/
|
|
cp packages/revwords/src/revwords $(REVWORDS_PKGDIR)/bin/
|
|
|
|
revwords-clean:
|
|
rm -rf $(REVWORDS_PKGDIR) $(REVWORDS_BUILDDIR)
|
|
$(MAKE) -C packages/revwords/src clean
|
|
|
|
revwords-build:
|
|
$(MAKE) -C packages/revwords/src build
|
|
|
|
PACKAGES += revwords
|