mirror of
https://github.com/gophernicus/gophernicus.git
synced 2025-01-03 14:56:43 -05: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
|
||||
|
||||
ChangeLog:
|
||||
./git2changelog > .ChangeLog
|
||||
sed -ne '/2012-12-02/,$$p' ChangeLog >> .ChangeLog
|
||||
mv .ChangeLog ChangeLog
|
||||
if [ -d .git ]; then \
|
||||
(./git2changelog > .ChangeLog; \
|
||||
sed -ne '/2012-12-02/,$$p' ChangeLog >> .ChangeLog; \
|
||||
mv .ChangeLog ChangeLog); \
|
||||
else true; fi
|
||||
|
||||
.PHONY: ChangeLog
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user