Minor Makefile updates.

This commit is contained in:
Markus F.X.J. Oberhumer
2007-01-31 05:53:38 +01:00
parent 08ef9f69fb
commit 87844254d1
13 changed files with 43 additions and 20 deletions
+5 -5
View File
@@ -8,6 +8,7 @@ export SHELL = /bin/sh
srcdir = .
top_srcdir = .
-include $(top_srcdir)/Makevars.global ./Makevars.local
# info: src/stub needs GNU make 3.81 and special build tools
@@ -33,15 +34,14 @@ endif
$(MAKE) -C src $@
$(MAKE) -C doc $@
# automatically generate ChangeLog from Mercurial repo
ChangeLog:
ifneq ($(wildcard .hg/data/.),)
# automatically generate ChangeLog from local Mercurial repo
ChangeLog:
hg log --style=changelog > $@
else
@echo "UPX info: no hg repo found"
.PHONY: ChangeLog
endif
.PHONY: default all mostlyclean clean distclean maintainer-clean
.PHONY: ChangeLog