mirror of
https://github.com/gophernicus/gophernicus.git
synced 2025-01-03 14:56:43 -05:00
Make ChangeLog update itself automatically from git log
This commit is contained in:
parent
f904837587
commit
d858e44be8
11
ChangeLog
11
ChangeLog
@ -1,6 +1,15 @@
|
||||
2013-08-05 Kim Holviala <kim@holviala.com>
|
||||
[ Automatically generated from git log ]
|
||||
|
||||
2014-01-25 Kim Holviala <kim@holviala.com>
|
||||
|
||||
* Up Debian package version to 1.5
|
||||
* Added .gitignore
|
||||
* Clean up supported platforms list
|
||||
* Up version number to 1.5-rc1 (I mean really, this time)
|
||||
* Up version number to 1.5-rc1 & update copyright years to 2014
|
||||
* Search strings were being urldecoded against the specs (bugreport from Kacper Gutowski)
|
||||
* Fixed a (non-security) bug in strcut()
|
||||
* Initial git commit with version 1.4
|
||||
|
||||
|
||||
2012-12-02 Kim Holviala <kim@holviala.com>
|
||||
|
17
Makefile
17
Makefile
@ -57,9 +57,16 @@ generic: $(BINARY)
|
||||
#
|
||||
# Special targets
|
||||
#
|
||||
deb:
|
||||
deb: ChangeLog
|
||||
dpkg-buildpackage -rfakeroot -uc -us
|
||||
|
||||
ChangeLog:
|
||||
./git2changelog > .ChangeLog
|
||||
sed -ne '/2012-12-02/,$$p' ChangeLog >> .ChangeLog
|
||||
mv .ChangeLog ChangeLog
|
||||
|
||||
.PHONY: ChangeLog
|
||||
|
||||
|
||||
#
|
||||
# Building
|
||||
@ -100,7 +107,7 @@ files.h: bin2c
|
||||
clean: clean-build clean-deb
|
||||
|
||||
clean-build:
|
||||
rm -f $(BINARY) $(OBJECTS) $(TGZ) $(HEADERS) README.options bin2c
|
||||
rm -f $(BINARY) $(OBJECTS) $(TGZ) $(HEADERS) README.options bin2c .ChangeLog
|
||||
|
||||
clean-deb:
|
||||
if [ -d debian/$(PACKAGE) ]; then fakeroot debian/rules clean; fi
|
||||
@ -109,7 +116,7 @@ clean-deb:
|
||||
#
|
||||
# Install targets
|
||||
#
|
||||
install:
|
||||
install: ChangeLog
|
||||
@case `uname` in \
|
||||
Darwin) $(MAKE) ROOT="$(OSXROOT)" install-files install-docs install-root install-osx install-done; ;; \
|
||||
Haiku) $(MAKE) SBINDIR=/boot/common/bin DOCDIR=/boot/common/share/doc/$(PACKAGE) \
|
||||
@ -230,9 +237,9 @@ uninstall-launchd:
|
||||
#
|
||||
# Release targets
|
||||
#
|
||||
dist: clean functions.h
|
||||
dist: clean functions.h ChangeLog
|
||||
mkdir -p /tmp/$(DIST)
|
||||
tar -cf - ./ | (cd /tmp/$(DIST) && tar -xf -)
|
||||
tar -cf - ./ --exclude=./.git | (cd /tmp/$(DIST) && tar -xf -)
|
||||
(cd /tmp/ && tar -cvf - $(DIST)) | gzip > $(TGZ)
|
||||
rm -rf /tmp/$(DIST)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user