diff options
author | Johan Dahlin <johan@src.gnome.org> | 2004-07-29 18:05:14 +0000 |
---|---|---|
committer | Johan Dahlin <johan@src.gnome.org> | 2004-07-29 18:05:14 +0000 |
commit | ebff7a2492c7c1bc1af0a46461cc19a3720f24b2 (patch) | |
tree | eb53ef2e276b1dd6d1f679d4ee35718e2474f695 /Makefile.am | |
parent | 32cc05687166f3b1bf7ae580b2efd2b4db3d8914 (diff) | |
download | pygtk-ebff7a2492c7c1bc1af0a46461cc19a3720f24b2.tar.gz |
Added small PYTHONPATH note
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/Makefile.am b/Makefile.am index 92ad5452..eeb7e3d4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,17 +1,19 @@ # require automake-1.7 AUTOMAKE_OPTIONS = 1.7 -SUBDIRS = codegen gobject gtk docs examples tests +SUBDIRS = codegen gobject . gtk docs examples tests + +PLATFORM_VERSION = 2.0 CLEANFILES = EXTRA_DIST = $(defs_DATA) pyexec_LTLIBRARIES = -defsdir = $(pkgdatadir)/2.0/defs +defsdir = $(pkgdatadir)/$(PLATFORM_VERSION)/defs defs_DATA = pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = pygtk-2.0.pc +pkgconfig_DATA = pygtk-$(PLATFORM_VERSION).pc INCLUDES = \ $(PYTHON_INCLUDES) \ @@ -35,10 +37,10 @@ python_PYTHON = pygtk.py # install pth file. install-data-local: $(mkinstalldirs) $(DESTDIR)$(pythondir) - echo "gtk-2.0" > $(DESTDIR)$(pythondir)/pygtk.pth + echo "gtk-$(PLATFORM_VERSION)" > $(DESTDIR)$(pythondir)/pygtk.pth install-exec-local: $(mkinstalldirs) $(DESTDIR)$(pyexecdir) - echo "gtk-2.0" > $(DESTDIR)$(pyexecdir)/pygtk.pth + echo "gtk-$(PLATFORM_VERSION)" > $(DESTDIR)$(pyexecdir)/pygtk.pth uninstall-local: rm -f $(DESTDIR)$(pythondir)/pygtk.pth $(DESTDIR)$(pyexecdir)/pygtk.pth @@ -89,7 +91,7 @@ noinst_PYTHON = ltihooks.py EXTRA_DIST += \ pygtk.spec \ pygtk.spec.in \ - pygtk-2.0.pc.in \ + pygtk-$(PLATFORM_VERSION).pc.in \ MAPPING \ THREADS \ config.h.win32 \ |