Skip to content

Commit

Permalink
Merge pull request #97 from lensed/nt/release-v0.4.0
Browse files Browse the repository at this point in the history
Release v0.4.0
  • Loading branch information
Nicolas Tessore committed Jan 12, 2015
2 parents 303795e + 106e819 commit e6762b9
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 58 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
Changelog
=========

v0.4.0 (2015-01-12)
-------------------

* Replace PCC by GK integration rule.
* Parameterisation of models.
* Read per-pixel effective gain from FITS file.
* Make sure no second lensing plane is created.

v0.3.0 (2014-12-10)
-------------------

Expand Down
14 changes: 0 additions & 14 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ CONFIG = $(BUILD_DIR)/config.h
VERSION = $(SOURCE_DIR)/version.h
OBJECTS = $(patsubst %.c,$(BUILD_DIR)/%.o,$(SOURCES))
LENSED = $(BIN_DIR)/lensed
RELEASE_TOOL = $(BUILD_DIR)/release

.PHONY: all clean

Expand Down Expand Up @@ -127,16 +126,3 @@ $(LENSED): $(OBJECTS)
@$(ECHO) "linking $(STYLE_BOLD)$@$(STYLE_RESET)"
@$(MKDIR) $(@D)
@$(CC) $(LDFLAGS) -o $@ $^

.PHONY: $(RELEASE_TOOL) release-major release-minor release-patch

$(RELEASE_TOOL): $(TOOLS_DIR)/release.c
@$(ECHO) "building release tool"
@$(MKDIR) $(@D)
@$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $@ $^

release-major release-minor release-patch: release-%: $(RELEASE_TOOL)
@$(ECHO) "updating $(STYLE_BOLD)$(VERSION)$(STYLE_RESET)"
@$(RELEASE_TOOL) $* > $(VERSION)
@$(MAKE) $(LENSED)
@$(ECHO) "version $(STYLE_BOLD)`$(LENSED) --version`$(STYLE_RESET)"
2 changes: 1 addition & 1 deletion src/version.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#pragma once

#define VERSION_MAJOR 0
#define VERSION_MINOR 3
#define VERSION_MINOR 4
#define VERSION_PATCH 0
43 changes: 0 additions & 43 deletions tools/release.c

This file was deleted.

0 comments on commit e6762b9

Please sign in to comment.