summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Reiter <creiter@src.gnome.org>2017-10-13 19:24:01 +0200
committerChristoph Reiter <creiter@src.gnome.org>2017-10-14 13:43:27 +0200
commitd831decad9e8fdb449518997dee1a5eaa21e0313 (patch)
tree18b2e0e6a6858b2bd4467fabaf04d0b1dbb61c4d
parent5b61ac3f2a66d93110642f43bec4f2a4e656681a (diff)
downloadpygobject-d831decad9e8fdb449518997dee1a5eaa21e0313.tar.gz
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
-rw-r--r--Makefile.am7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 4d1fdda7..c3ba1a80 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