瀏覽代碼

Remove additions from contrib/ before moving HEAD

* mk/targets.mk (up0): Explicitly remove additions from contrib/
  before moving HEAD via git since the files might be renamed, deleted
  or moved by checking out a new version.

Thanks to Suvayu Ali for pointing to this problem.  The user still has
to remember to do this when moving HEAD manually, though.
Achim Gratz 12 年之前
父節點
當前提交
ac8522a1ad
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      mk/targets.mk

+ 1 - 0
mk/targets.mk

@@ -102,6 +102,7 @@ ifeq ($(TEST_NO_AUTOCLEAN),) # define this variable to leave $(testdir) around f
 	$(MAKE) cleantest
 endif
 
+up0::	cleanaddcontrib
 up0 up1 up2::
 	git remote update
 	git pull