Remove dependency check. We don't have system dependencies anymore.

wip
jaseg 2021-06-05 21:46:26 +02:00
rodzic cc882a4195
commit 094aca80b8
2 zmienionych plików z 0 dodań i 6 usunięć

Wyświetl plik

@ -16,7 +16,6 @@ def compile_and_install_svgflatten(target_dir):
src_path = 'svg-flatten'
try:
subprocess.run(['make', 'check-deps'], cwd=src_path, check=True)
subprocess.run(['make', '-j', str(cpu_count()), 'all'], cwd=src_path, check=True)
bin_dir = target_dir / ".."
bin_dir.mkdir(parents=True, exist_ok=True)

Wyświetl plik

@ -59,11 +59,6 @@ TARGET := svg-flatten
all: $(BUILDDIR)/$(TARGET)
.PHONY: check-deps
check-deps:
@echo
@$(PKG_CONFIG) --cflags --libs pugixml >/dev/null
$(BUILDDIR)/%.o: %.cpp
@mkdir -p $(dir $@)
$(CXX) -c $(CXXFLAGS) $(CXXFLAGS) $(INCLUDES) -o $@ $^