Skip to content
代码片段 群组 项目
提交 1735f9cb 编辑于 作者: Thiago Macieira's avatar Thiago Macieira
浏览文件

Fix "make distcheck" when TMPDIR isn't set


Otherwise, we get this:
 GIT_DIR=./.git git archive --prefix=tinycbor-distcheck/ --format=tar HEAD | tar -xf - -C $TMPDIR
 tar: option requires an argument -- 'C'

Signed-off-by: default avatarThiago Macieira <thiago.macieira@intel.com>
上级 4628a110
No related branches found
No related tags found
无相关合并请求
...@@ -160,10 +160,10 @@ docs: ...@@ -160,10 +160,10 @@ docs:
dist: $(PACKAGE).tar.gz $(PACKAGE).zip dist: $(PACKAGE).tar.gz $(PACKAGE).zip
distcheck: .git distcheck: .git
-$(RM) -r $$TMPDIR/tinycbor-distcheck -$(RM) -r $${TMPDIR-/tmp}/tinycbor-distcheck
GIT_DIR=$(SRCDIR).git git archive --prefix=tinycbor-distcheck/ --format=tar HEAD | tar -xf - -C $$TMPDIR GIT_DIR=$(SRCDIR).git git archive --prefix=tinycbor-distcheck/ --format=tar HEAD | tar -xf - -C $${TMPDIR-/tmp}
cd $$TMPDIR/tinycbor-distcheck && $(MAKE) silentcheck cd $${TMPDIR-/tmp}/tinycbor-distcheck && $(MAKE) silentcheck
$(RM) -r $$TMPDIR/tinycbor-distcheck $(RM) -r $${TMPDIR-/tmp}/tinycbor-distcheck
release: .git release: .git
$(MAKE) -f $(MAKEFILE) distcheck $(MAKE) -f $(MAKEFILE) distcheck
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册