mirror of
https://github.com/gophernicus/gophernicus.git
synced 2024-07-21 03:14:15 -04:00
Don't update ChangeLog unless the source tree is a git repo
This commit is contained in:
parent
d858e44be8
commit
863d4c2cbd
8
Makefile
8
Makefile
@ -61,9 +61,11 @@ deb: ChangeLog
|
|||||||
dpkg-buildpackage -rfakeroot -uc -us
|
dpkg-buildpackage -rfakeroot -uc -us
|
||||||
|
|
||||||
ChangeLog:
|
ChangeLog:
|
||||||
./git2changelog > .ChangeLog
|
if [ -d .git ]; then \
|
||||||
sed -ne '/2012-12-02/,$$p' ChangeLog >> .ChangeLog
|
(./git2changelog > .ChangeLog; \
|
||||||
mv .ChangeLog ChangeLog
|
sed -ne '/2012-12-02/,$$p' ChangeLog >> .ChangeLog; \
|
||||||
|
mv .ChangeLog ChangeLog); \
|
||||||
|
else true; fi
|
||||||
|
|
||||||
.PHONY: ChangeLog
|
.PHONY: ChangeLog
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user