aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-06-20 19:02:57 +0200
committerTristan Gingold <tgingold@free.fr>2019-06-20 19:02:57 +0200
commitf1fb93ebd8f4f5f4d745e04336d430265b0825a6 (patch)
tree59245d188a7d0c21b95290c000b572a61ede59e1 /Makefile.in
parentb5dcc2fcfdab9cb0a80dbf598ecdef6c71333715 (diff)
downloadghdl-f1fb93ebd8f4f5f4d745e04336d430265b0825a6.tar.gz
ghdl-f1fb93ebd8f4f5f4d745e04336d430265b0825a6.tar.bz2
ghdl-f1fb93ebd8f4f5f4d745e04336d430265b0825a6.zip
Makefile: add a dedicated target for libghdl-py.tgz
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in10
1 files changed, 6 insertions, 4 deletions
diff --git a/Makefile.in b/Makefile.in
index 83ee2f38c..4ecb2ad7f 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -372,14 +372,16 @@ all.libghdl: all.libghdl.$(enable_libghdl)
install.libghdl.true:
$(INSTALL_PROGRAM) -p $(libghdl_name) $(DESTDIR)$(libdir)/
- $(MKDIR) python
- $(CP) -r $(srcdir)/python/libghdl python
- $(MV) config.py python/libghdl/
- tar -zcvf ../libghdl-py.tgz -C python/libghdl .
install.libghdl.false:
install.libghdl: install.libghdl.$(enable_libghdl)
+libghdl-py.tgz:
+ [ -d pythonb ] || $(MKDIR) pythonb
+ $(CP) -r $(srcdir)/python/libghdl $(srcdir)/python/setup.py pythonb
+ $(CP) config.py pythonb/libghdl/
+ tar -zcvf $@ -C pythonb .
+
################ ghdlsynth library ######################################
GHDL_SYNTHLIB_INCFLAGS=$(GHDL_COMMON_INCFLAGS) -aI$(srcdir)/src/synth -aI$(srcdir)/src/ghdldrv -aI$(srcdir)/src/vhdl/simulate