1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
|
##
## Notion Makefile
##
export NOTION_RELEASE = $(shell ./version.sh)
# Include system-specific configuration: auto-generated and optionally local
include build/system-inc.mk
# List of modules
include modulelist.mk
######################################
INSTALL_SUBDIRS=\
$(MODULE_LIST) \
ioncore notion etc utils man po contrib/scripts
SUBDIRS = $(LIBS_SUBDIRS) $(INSTALL_SUBDIRS)
DOCS = README.md LICENSE AUTHORS CONTRIBUTING.md
TO_REALCLEAN = build/ac/system-ac.mk
POTFILE=po/notion.pot
######################################
include build/rules.mk
######################################
_install:
$(INSTALLDIR) $(DESTDIR)$(DOCDIR)
for i in $(DOCS); do \
$(INSTALL) -m $(DATA_MODE) $$i $(DESTDIR)$(DOCDIR); \
done
RELEASE_TARGETS := $(addsuffix -release,major minor patch)
$(RELEASE_TARGETS):
@./nextversion.sh $(@) >/dev/null 2>/dev/null
$(eval RELEASE_VERSION=$(shell ./nextversion.sh $(@)))
git tag -s -m "Release $(RELEASE_VERSION)" $(RELEASE_VERSION)
@echo 'Use "git push --tags" to push the newly tagged release.'
.PHONY: test $(RELEASE_TARGETS)
test:
$(MAKE) -C mod_xrandr test
$(MAKE) -C mod_xinerama test
$(MAKE) -C libtu test
$(MAKE) -C libextl test
$(MAKE) -C test
|