mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-29 05:17:54 +00:00
Mark ChangeLog as PHONY
Don't overwrite ChangeLog if we can't run hg
This commit is contained in:
parent
49d1142dfa
commit
a178a430a2
10
Makefile.in
10
Makefile.in
@ -63,7 +63,13 @@ autoconf:
|
|||||||
autoconf -I m4
|
autoconf -I m4
|
||||||
|
|
||||||
ChangeLog:
|
ChangeLog:
|
||||||
(cd $(srcdir) && test -d .hg && hg log --style=changelog -b default > $@)
|
if test -d $(srcdir)/.hg && cd $(srcdir); then \
|
||||||
|
if hg log --style=changelog -b default > $@.tmp; then \
|
||||||
|
mv $@.tmp $@; \
|
||||||
|
else \
|
||||||
|
rm -f $@.tmp; \
|
||||||
|
fi; \
|
||||||
|
fi
|
||||||
|
|
||||||
check:
|
check:
|
||||||
@echo nothing to check
|
@echo nothing to check
|
||||||
@ -119,3 +125,5 @@ cleandir: distclean
|
|||||||
clobber: distclean
|
clobber: distclean
|
||||||
|
|
||||||
realclean: distclean
|
realclean: distclean
|
||||||
|
|
||||||
|
.PHONY: ChangeLog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user