mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-22 09:57:41 +00:00
We now build sudo releases from git, not mercurial
This commit is contained in:
parent
23aff2b372
commit
cb4e267341
15
Makefile.in
15
Makefile.in
@ -248,14 +248,7 @@ depend: siglist.c signame.c tsgetusershell.c
|
|||||||
# The CODEOWNERS file is not present in the release tarball.
|
# The CODEOWNERS file is not present in the release tarball.
|
||||||
ChangeLog:
|
ChangeLog:
|
||||||
if test -f $(srcdir)/docs/CODEOWNERS; then \
|
if test -f $(srcdir)/docs/CODEOWNERS; then \
|
||||||
if test -d $(srcdir)/.hg && hg -R $(srcdir) identify -ibt >stamp-$@.tmp 2>&1; then \
|
if test -d $(srcdir)/.git && git --git-dir $(srcdir)/.git describe --tags >stamp-$@.tmp 2>&1; then \
|
||||||
cmp stamp-$@.tmp stamp-$@ >/dev/null 2>&1 || { \
|
|
||||||
mv -f stamp-$@.tmp stamp-$@; \
|
|
||||||
if hg log -R $(srcdir) --template=changelog -r "sort(branch(.) or follow(), -date)" > $@.tmp; then \
|
|
||||||
mv -f $@.tmp $(srcdir)/$@; \
|
|
||||||
fi; \
|
|
||||||
}; \
|
|
||||||
elif test -d $(srcdir)/.git && git --git-dir $(srcdir)/.git describe --tags >stamp-$@.tmp 2>&1; then \
|
|
||||||
cmp stamp-$@.tmp stamp-$@ >/dev/null 2>&1 || { \
|
cmp stamp-$@.tmp stamp-$@ >/dev/null 2>&1 || { \
|
||||||
mv -f stamp-$@.tmp stamp-$@; \
|
mv -f stamp-$@.tmp stamp-$@; \
|
||||||
if $(scriptdir)/log2cl.pl -R $(srcdir)/.git > $@.tmp; then \
|
if $(scriptdir)/log2cl.pl -R $(srcdir)/.git > $@.tmp; then \
|
||||||
@ -385,10 +378,10 @@ mkdefaults:
|
|||||||
cd plugins/sudoers && exec $(MAKE) DEVEL=1 ./def_data.c ./def_data.h
|
cd plugins/sudoers && exec $(MAKE) DEVEL=1 ./def_data.c ./def_data.h
|
||||||
|
|
||||||
check-dist: update-pot compile-po mkdefaults
|
check-dist: update-pot compile-po mkdefaults
|
||||||
@if test -d $(srcdir)/.hg && cd $(srcdir); then \
|
@if test -d $(srcdir)/.git && cd $(srcdir); then \
|
||||||
if test `hg stat -am | wc -l` -ne 0; then \
|
if git status -s | grep -q '^ *M'; then \
|
||||||
echo "Uncommitted changes" 1>&2; \
|
echo "Uncommitted changes" 1>&2; \
|
||||||
hg stat -am 1>&2; \
|
git status -s | grep '^ *M'; \
|
||||||
exit 1; \
|
exit 1; \
|
||||||
fi; \
|
fi; \
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user