BlinkenArea - GitList
Repositories
Blog
Wiki
BlinkenLib
Code
Commits
Branches
Tags
Search
Tree:
f76e310
Branches
Tags
master
v0.1
v0.2
v0.3
v0.3.1
v0.4
v0.4.1
v0.5
v0.5.1
v0.5.2
v0.5.3
v0.5.4
v0.5.5
v0.6.0
v0.6.1
v0.6.2
v0.6.3
v0.6.4
v0.6.5
v0.6.6
v0.6.7
v0.6.8
v0.6.9
v0.7.0
v0.7.1
v0.7.10
v0.7.2
v0.7.3
v0.7.4
v0.7.5
v0.7.6
v0.7.7
v0.7.8
v0.7.9
v0.8.0
v0.8.1
BlinkenLib
Makefile
BlinkenLib v.0.6.5 (2011-04-26)
Christian Heimke
commited
f76e310
at 2011-07-15 09:10:14
Makefile
Blame
History
Raw
# BlinkenLib # version 0.6.5 date 2011-04-26 # Copyright 2004-2011 Stefan Schuermans <stefan@blinkenarea.org> # Copyleft: GNU public license - http://www.gnu.org/copyleft/gpl.html # a blinkenarea.org project VERSION_MAJOR=0 VERSION_MINOR=6 VERSION_REVISION=5 VERSION=$(VERSION_MAJOR).$(VERSION_MINOR).$(VERSION_REVISION) DATE:=$(shell date +%Y-%m-%d) YEAR:=$(shell date +%Y) UPDATE_FILES=Makefile */Makefile */*.c */*.h PACK_FILES=BlinkenLib ChangeLog config examples install Makefile .PHONY: all conf clean distclean install uninstall update pack .SUFFIXES: all: conf $(MAKE) -C BlinkenLib all conf: $(MAKE) -C config all clean: conf $(MAKE) -C BlinkenLib clean distclean: clean $(MAKE) -C config clean rm -rf tmp install: all $(MAKE) -C install install uninstall: $(MAKE) -C install uninstall update: distclean sed -i "s/version [0-9.]* date [0-9-]*/version $(VERSION) date $(DATE)/" $(UPDATE_FILES) sed -i "s/\(Copyright [0-9]*-\)[0-9]*/\1$(YEAR)/" $(UPDATE_FILES) sed -i "s/^VERSION_MAJOR=.*$$/VERSION_MAJOR=$(VERSION_MAJOR)/" $(UPDATE_FILES) sed -i "s/^VERSION_MINOR=.*$$/VERSION_MINOR=$(VERSION_MINOR)/" $(UPDATE_FILES) sed -i "s/^VERSION_REVISION=.*$$/VERSION_REVISION=$(VERSION_REVISION)/" $(UPDATE_FILES) pack: update mkdir -p pack mkdir -p tmp/BlinkenLib-$(VERSION)_$(DATE) cp -r $(PACK_FILES) tmp/BlinkenLib-$(VERSION)_$(DATE) tar -C tmp -jcf pack/BlinkenLib-$(VERSION)_$(DATE).tar.bz2 BlinkenLib-$(VERSION)_$(DATE) rm -rf tmp