Ignore .git directory when creating a tarball.
Fix writing of current hash in file when generating a tarball.
This commit is contained in:
parent
53ef2e0492
commit
c55039b3eb
|
@ -312,6 +312,7 @@ snapshot tarball: check-topdir revision clean windows apidocs
|
|||
find $$wd -name CVS >>$$wd/tar-exclude; \
|
||||
find $$wd -name .cvsignore >>$$wd/tar-exclude; \
|
||||
find $$wd -name .gitignore >>$$wd/tar-exclude; \
|
||||
find $$wd -name .git >>$$wd/tar-exclude; \
|
||||
else \
|
||||
echo "$$wd/packing/rpm/yate.spec" >>$$wd/tar-exclude; \
|
||||
fi ; \
|
||||
|
@ -368,7 +369,7 @@ check-gittag revision: check-topdir
|
|||
tag=""; \
|
||||
fi; \
|
||||
test -z "$(GIT_TAG)" || echo "$(GIT_TAG)" > packing/revision.txt ; \
|
||||
test -z "$(GIT_HASH)" || echo "$$GIT_HASH" > packing/git_commit.txt
|
||||
test -z "$(GIT_HASH)" || echo "$(GIT_HASH)" > packing/git_commit.txt
|
||||
|
||||
%.o: @srcdir@/%.cpp $(MKDEPS) @srcdir@/yatengine.h
|
||||
$(COMPILE) -c $<
|
||||
|
|
Loading…
Reference in New Issue