Files
mixer-tools/Makefile
T
Tudor Marcu 5e115d99d2 Release v3.2.0
This release introduces several new features:
- Upstream url and version are saved in the respective
mixver directory to retain history of where content may have come
from.
- Environment variables are now usable in the builder.conf to do things
such as $HOME/mix/update.
- A new command 'add-bundles' is added which handles
copying over upstream bundle definitions into mix-bundles, while resolving
includes and pulling them in automatically.
- Error fixes for handling http get status codes.

Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
2017-12-09 22:47:58 -08:00

34 lines
1.1 KiB
Makefile

PROJECT_ROOT := src/
VERSION = 3.2.0
.DEFAULT_GOAL := all
# Locate testables:
_TESTABLES = $(shell find src/ -name '*_test.go'|xargs -I{} dirname {}|sed 's/src\///g'|uniq|sort)
_COMPLIABLE = $(shell find src/ -name '*.go' | xargs -I{} dirname {}|sed 's/src\///g'|uniq|sort)
GO_TESTS = \
$(addsuffix .test,$(_TESTABLES))
BUILDABLES = \
mixer.build
include Makefile.gobuild
# We want to add compliance for all built binaries
_CHECK_COMPLIANCE = $(addsuffix .compliant,$(_COMPLIABLE))
# Ensure our own code is compliant..
compliant: $(_CHECK_COMPLIANCE)
install: $(BINS)
test -d $(DESTDIR)/usr/bin || install -D -d -m 00755 $(DESTDIR)/usr/bin; \
install -m 00755 bin/* $(DESTDIR)/usr/bin/.
install -m 00755 pack-maker.sh $(DESTDIR)/usr/bin/mixer-pack-maker.sh
install -m 00755 superpack-maker.sh $(DESTDIR)/usr/bin/mixer-superpack-maker.sh
install -D -m 00644 yum.conf.in $(DESTDIR)/usr/share/defaults/mixer/yum.conf.in
release:
git archive --format=tar.gz --verbose -o mixer-tools-$(VERSION).tar.gz HEAD --prefix=mixer-tools-$(VERSION)/
all: compliant $(BUILDABLES)