diff options
author | Tristan Gingold <tgingold@free.fr> | 2019-06-20 19:02:57 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2019-06-20 19:02:57 +0200 |
commit | f1fb93ebd8f4f5f4d745e04336d430265b0825a6 (patch) | |
tree | 59245d188a7d0c21b95290c000b572a61ede59e1 | |
parent | b5dcc2fcfdab9cb0a80dbf598ecdef6c71333715 (diff) | |
download | ghdl-f1fb93ebd8f4f5f4d745e04336d430265b0825a6.tar.gz ghdl-f1fb93ebd8f4f5f4d745e04336d430265b0825a6.tar.bz2 ghdl-f1fb93ebd8f4f5f4d745e04336d430265b0825a6.zip |
Makefile: add a dedicated target for libghdl-py.tgz
-rw-r--r-- | Makefile.in | 10 |
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 |