[pygobject/pygobject-3-26] build: Fix not installing .egg-info file



commit d831decad9e8fdb449518997dee1a5eaa21e0313
Author: Christoph Reiter <creiter src gnome org>
Date:   Fri Oct 13 19:24:01 2017 +0200

    build: Fix not installing .egg-info file
    
    While removing the egg target in 49cc3643819dad0d065d I wrongfully
    removed that part as well. While the file extension has "egg" in
    it it has nothing to do with eggs..
    
    https://bugzilla.gnome.org/show_bug.cgi?id=777719

 Makefile.am |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 4d1fdda..c3ba1a8 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -87,6 +87,13 @@ endif
 # python
 pyexec_LTLIBRARIES =
 
+EGG_NAME = $(PACKAGE)-$(PACKAGE_VERSION)-py$(PYTHON_VERSION)
+install-data-local:
+       $(mkinstalldirs) $(DESTDIR)$(pyexecdir)
+       cp $(top_builddir)/PKG-INFO $(DESTDIR)$(pyexecdir)/$(EGG_NAME).egg-info
+uninstall-local:
+       rm -f $(DESTDIR)$(pyexecdir)/$(EGG_NAME).egg-info
+
 release-news:
        printf "%-8s%s\n" "$(VERSION)" "`LC_TIME=C date '+%d-%b-%Y'`" > NEWS.tmp
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]