numptyphysics: exclude .git directories from src archive

This commit is contained in:
Christian Helmuth
2019-07-11 16:17:23 +02:00
parent 2b20aea960
commit b2f643e37f

View File

@@ -7,8 +7,9 @@ content: $(MIRROR_FROM_PORT_AND_REP_DIR) LICENSE
PORT_DIR := $(call port_dir,$(REP_DIR)/ports/numptyphysics)
$(MIRROR_FROM_PORT_AND_REP_DIR):
mkdir -p $(dir $@)
cp -r $(PORT_DIR)/$@ $(dir $@)
mkdir -p $@
tar -C $(PORT_DIR)/$@ --exclude=.git -cf - . | tar -C $@ -xf -
$(mirror_from_rep_dir)
LICENSE: