mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +01:00
build: Ensure .py files are generated at build time not install time
Otherwise installing with `sudo make install` fails. https://bugzilla.gnome.org/show_bug.cgi?id=706667
This commit is contained in:
parent
5448ef5326
commit
029cfa9109
@ -479,6 +479,7 @@ dist-hook: $(BUILT_EXTRA_DIST) $(top_builddir)/win32/vs9/glib.vcproj $(top_build
|
||||
gdbdir = $(datadir)/glib-2.0/gdb
|
||||
dist_gdb_DATA = glib_gdb.py
|
||||
|
||||
all-local: libglib-gdb.py
|
||||
libglib-gdb.py: libglib-gdb.py.in
|
||||
$(AM_V_GEN) $(SED) -e "s|\@datadir\@|$(datadir)|" $(srcdir)/libglib-gdb.py.in > $(builddir)/libglib-gdb.py
|
||||
|
||||
|
@ -248,6 +248,7 @@ distclean-local:
|
||||
gdbdir = $(datadir)/glib-2.0/gdb
|
||||
dist_gdb_DATA = gobject_gdb.py
|
||||
|
||||
all-local: libgobject-gdb.py
|
||||
libgobject-gdb.py: libgobject-gdb.py.in
|
||||
$(AM_V_GEN) $(SED) -e "s|\@datadir\@|$(datadir)|" $(srcdir)/libgobject-gdb.py.in > $(builddir)/libgobject-gdb.py
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user