adds a rule to update packages and push the corresponding updates module files

Former-commit-id: 1ffa805e74571f9d970dcb185f187dd586c1a190
This commit is contained in:
2023-03-21 22:02:18 +07:00
parent 7ed567fbad
commit 98eac2360c
4 changed files with 71 additions and 17 deletions

View File

@ -42,6 +42,9 @@ all: obitools
packages: $(patsubst %,pkg-%,$(PACKAGES))
obitools: $(patsubst %,$(OBITOOLS_PREFIX)%,$(OBITOOLS))
update-deps:
go get -u ./...
man:
make -C doc man
obibook:
@ -61,4 +64,4 @@ $(foreach P,$(PACKAGE_DIRS),$(eval $(call MAKE_PKG_RULE,$(P))))
$(foreach P,$(OBITOOLS_DIRS),$(eval $(call MAKE_OBITOOLS_RULE,$(P))))
.PHONY: all packages obitools man obibook doc
.PHONY: all packages obitools man obibook doc update-deps