1
0
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:
Markus F.X.J. Oberhumer 2006-06-11 13:05:57 +02:00
parent c34daf1a35
commit c0ba6e13e4

View File

@ -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