aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-07-02 07:00:50 +0200
committerTristan Gingold <tgingold@free.fr>2019-07-02 07:00:50 +0200
commitcef6f89a83ee96075b19b7fc5ceb06f727444ad0 (patch)
treea3df314c4cb6d56b018023a1bb2447dea5d1e1dc
parent1c59818d0a07f10781abb565e7941e0a3411926f (diff)
downloadghdl-cef6f89a83ee96075b19b7fc5ceb06f727444ad0.tar.gz
ghdl-cef6f89a83ee96075b19b7fc5ceb06f727444ad0.tar.bz2
ghdl-cef6f89a83ee96075b19b7fc5ceb06f727444ad0.zip
vhdl: adjust python pathes in Makefile.
-rw-r--r--src/vhdl/Makefile20
1 files changed, 11 insertions, 9 deletions
diff --git a/src/vhdl/Makefile b/src/vhdl/Makefile
index 3f09c855f..70b7862a4 100644
--- a/src/vhdl/Makefile
+++ b/src/vhdl/Makefile
@@ -27,9 +27,11 @@ DEPS=vhdl-nodes.ads vhdl-nodes.adb.in $(PNODES)
GEN_FILES=vhdl-nodes.adb vhdl-nodes_meta.ads vhdl-nodes_meta.adb \
vhdl-elocations.adb vhdl-elocations_meta.ads vhdl-elocations_meta.adb \
- python/libghdl/thin/vhdl/nodes.py python/libghdl/thin/vhdl/nodes_meta.py \
- python/libghdl/thin/vhdl/tokens.py python/libghdl/thin/vhdl/elocations.py \
- python/libghdl/thin/errorout.py python/libghdl/thin/std_names.py
+ ../../python/libghdl/thin/vhdl/nodes.py \
+ ../../python/libghdl/thin/vhdl/nodes_meta.py \
+ ../../python/libghdl/thin/vhdl/tokens.py \
+ ../../python/libghdl/thin/vhdl/elocations.py \
+ ../../python/libghdl/thin/errorout.py ../../python/libghdl/thin/std_names.py
NODES_FLAGS=--node-file=vhdl-nodes.ads --field-file=vhdl-nodes.adb.in \
--template-file=vhdl-nodes.adb.in --kind-file=vhdl-nodes.ads \
@@ -71,32 +73,32 @@ vhdl-elocations_meta.adb: vhdl-elocations_meta.adb.in vhdl-elocations.ads $(DEPS
$(PNODES) $(ELOCATIONS_FLAGS) meta_body > $@
chmod -w $@
-python/libghdl/thin/vhdl/nodes.py: $(DEPS) $(PNODESPY)
+../../python/libghdl/thin/vhdl/nodes.py: $(DEPS) $(PNODESPY)
$(RM) $@
$(PNODESPY) $(NODES_FLAGS) libghdl-nodes > $@
chmod -w $@
-python/libghdl/thin/vhdl/nodes_meta.py: $(DEPS) $(PNODESPY)
+../../python/libghdl/thin/vhdl/nodes_meta.py: $(DEPS) $(PNODESPY)
$(RM) $@
$(PNODESPY) $(NODES_FLAGS) libghdl-meta > $@
chmod -w $@
-python/libghdl/thin/std_names.py: $(PNODESPY) ../std_names.ads
+../../python/libghdl/thin/std_names.py: $(PNODESPY) ../std_names.ads
$(RM) $@
$(PNODESPY) $(NODES_FLAGS) libghdl-names > $@
chmod -w $@
-python/libghdl/thin/vhdl/tokens.py: $(PNODESPY) vhdl-tokens.ads
+../../python/libghdl/thin/vhdl/tokens.py: $(PNODESPY) vhdl-tokens.ads
$(RM) $@
$(PNODESPY) $(NODES_FLAGS) libghdl-tokens > $@
chmod -w $@
-python/libghdl/thin/vhdl/elocations.py: $(PNODESPY) vhdl-elocations.ads
+../../python/libghdl/thin/vhdl/elocations.py: $(PNODESPY) vhdl-elocations.ads
$(RM) $@
$(PNODESPY) $(ELOCATIONS_FLAGS) libghdl-elocs > $@
chmod -w $@
-python/libghdl/thin/errorout.py: $(PNODESPY) ../errorout.ads
+../../python/libghdl/thin/errorout.py: $(PNODESPY) ../errorout.ads
$(RM) $@
$(PNODESPY) $(ELOCATIONS_FLAGS) libghdl-errorout > $@
chmod -w $@