Make: default SRC_DIR to production sample
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5009c57..5619c5a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -63,6 +63,10 @@
- target/dnb18.marmot-malt.zip
- target/dnb18.spacy.zip
- target/dnb18.krill.tar
+ variables:
+ SRC_DIR: test/resources/DNB
+ YEARS: 18
+
before_script:
- source `find .. -name section_helper.sh`
- start_section install_linux_packages "Installing missing Linux packages"
@@ -92,7 +96,7 @@
- touch target/*.zip # ignore timestamps in make
- sleep 1
- touch target/*.*.zip
- - MAX_THREADS=2 make -j $(nproc) target/dnb18.index.tar.xz
+ - MAX_THREADS=2 make -j $(nproc) target/dnb.index.tar.xz
- end_section building_krill
artifacts:
paths:
diff --git a/Makefile b/Makefile
index cfcdd81..e5cd905 100644
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,12 @@
# Change the SRC_DIR to the directory containing the DNB EPUB files, e.g. with
# make -j 96 target/dnb13.index.tar.xz SRC_DIR=../sample.10000
-SRC_DIR ?= test/resources/DNB
+SRC_DIR ?= /mnt/data/KorAP@DNB/Random-10-12-23.epub
-# Change YEARS to the years you want to process, e.g. with
+# Change YEARS to the years you want to process, e.g. with
# make -j12 i5valid YEARS="18 19"
-YEARS ?= $(shell seq -w 1998 2024 | sed 's/^.*\([0-9][0-9]\)/\1/')
+YEARS ?= $(shell seq -w 2012 2024 | sed 's/^.*\([0-9][0-9]\)/\1/')
BUILD_DIR = build
TARGET_DIR ?= target