numptyphysics: exclude .git directories from src archive
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user