mirror of
https://github.com/upx/upx
synced 2025-09-28 19:06:07 +08:00
Check for .hg directory when generating ChangeLog.
This commit is contained in:
parent
c34daf1a35
commit
c0ba6e13e4
6
Makefile
6
Makefile
|
@ -23,9 +23,13 @@ endif
|
|||
dist: distclean
|
||||
false
|
||||
|
||||
# automatically generate ChangeLog from hg
|
||||
# automatically generate ChangeLog from Mercurial repo
|
||||
ChangeLog:
|
||||
ifneq ($(wildcard .hg/data),)
|
||||
hg log --style=changelog > $@
|
||||
else
|
||||
@echo "UPX info: no hg repo found"
|
||||
endif
|
||||
|
||||
|
||||
.PHONY: default all mostlyclean clean distclean maintainer-clean
|
||||
|
|
Loading…
Reference in New Issue
Block a user