Skip to content

Commit 9294083

Browse files
yetistraveit65
authored andcommitted
require gio-unix, drop python example
1 parent edaad52 commit 9294083

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

util/Makefile.am

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
noinst_PROGRAMS = mate-menu-spec-test
22

33
AM_CPPFLAGS = \
4-
$(GLIB_CFLAGS) \
4+
$(GIO_UNIX_CFLAGS) \
55
-I$(srcdir)/../libmenu \
66
-DMATEMENU_I_KNOW_THIS_IS_UNSTABLE \
77
-DMATELOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
@@ -14,18 +14,13 @@ mate_menu_spec_test_SOURCES = \
1414
test-menu-spec.c
1515

1616
mate_menu_spec_test_LDADD = \
17-
$(GLIB_LIBS) \
17+
$(GIO_UNIX_LIBS) \
1818
../libmenu/libmate-menu.la
1919

20-
if HAVE_PYTHON
21-
pyexampledir = $(pkgdatadir)/examples
22-
pyexample_DATA = mate-menus-ls.py
23-
else
24-
pyexampledir =
25-
pyexample_DATA =
26-
endif
20+
exampledir = $(pkgdatadir)/examples
21+
example_DATA = mate-menus-ls.py mate-menus-ls.js
2722

28-
EXTRA_DIST = $(pyexample_DATA)
23+
EXTRA_DIST = $(example_DATA)
2924

3025
-include $(top_srcdir)/git.mk
3126

0 commit comments

Comments
 (0)