Skip to content

Commit

Permalink
Rename nist folder to data.
Browse files Browse the repository at this point in the history
  • Loading branch information
MilanSkocic committed Nov 18, 2024
1 parent fc68e14 commit 2ff5779
Show file tree
Hide file tree
Showing 13 changed files with 11 additions and 10 deletions.
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ endif

SRC_FYPP=$(wildcard ./src/*.fypp)

.PHONY: build nist stdlib sources doc docs clean logo
.PHONY: build data stdlib sources doc docs clean logo

all: $(LIBNAME)

Expand Down Expand Up @@ -72,10 +72,10 @@ uninstall:
rm -f $(install_dir)/lib/$(LIBNAME).dll
rm -f $(install_dir)/bin/$(LIBNAME).dll

nist:
make -C nist
data:
make -C data

sources: nist
sources: data
make -C src

headers: sources
Expand All @@ -84,7 +84,7 @@ headers: sources
cpython: sources
make -C py/src/pycodata

python: nist
python: data
make -C py/src/pycodata

stdlib: sources
Expand All @@ -101,7 +101,7 @@ logo:
make -C media

clean:
make -C nist clean
make -C data clean
make -C src clean
make -C include clean
make -C stdlib clean
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion include/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ PY=python
GEN=../scripts/gen_headers.py
CONC=../scripts/gen_header.py

AST_DIR=../nist
AST_DIR=../data

AST_SRC=$(wildcard $(AST_DIR)/*.toml)
C_HEADER = codata_constants_2010.h codata_constants_2014.h codata_constants_2018.h codata_constants_2022.h
Expand Down
5 changes: 3 additions & 2 deletions py/src/pycodata/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@ PY=python
GEN=../../../scripts/gen_cpython.py
GENPY=../../../scripts/gen_python.py

AST_DIR=../../../nist
AST_DIR=../../../data

AST_SRC=$(wildcard $(AST_DIR)/*.toml)
CPYTHON = cpy_codata_constants_2010.c cpy_codata_constants_2014.c cpy_codata_constants_2018.c cpy_codata_constants_2022.c
PYTHON = constants_2010.py constants_2014.py constants_2018.py constants_2022.py

.PHONY: clean

all: $(CPYTHON) $(PYTHON)
# all: $(CPYTHON) $(PYTHON)
all: $(PYTHON)

cpy_codata_constants_2010.c: $(AST_DIR)/codata_2010.toml
$(PY) $(GEN) $< $@
Expand Down
2 changes: 1 addition & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ PY=python
GEN_FORTRAN=../scripts/gen_fortran.py
GEN_CAPI=../scripts/gen_capi.py

AST_DIR=../nist
AST_DIR=../data
SRC_DIR=.

AST_SRC=$(wildcard $(AST_DIR)/*.toml)
Expand Down

0 comments on commit 2ff5779

Please sign in to comment.