diff options
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 132 |
1 files changed, 40 insertions, 92 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 5cc96dec..251e2cb6 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,30 +1,33 @@ bin_PROGRAMS = yelp -yelp_SOURCES = \ - yelp-base.c yelp-base.h \ - yelp-bookmarks.c yelp-bookmarks.h \ - yelp-error.c yelp-error.h \ - yelp-html.c yelp-html.h \ - yelp-io-channel.c yelp-io-channel.h \ - yelp-settings.c yelp-settings.h \ - yelp-utils.c yelp-utils.h \ - yelp-window.c yelp-window.h \ - yelp-marshal.c yelp-marshal.h \ - yelp-main.c \ - yelp-page.c yelp-page.h \ - yelp-transform.c yelp-transform.h \ - yelp-document.h yelp-document.c \ - yelp-toc.h yelp-toc.c \ - yelp-docbook.h yelp-docbook.c \ - yelp-db-print.c yelp-db-print.h \ - yelp-mallard.h yelp-mallard.c \ - yelp-man-parser.c yelp-man-parser.h \ - yelp-man.c yelp-man.h \ - yelp-info.c yelp-info.h \ - yelp-info-parser.c yelp-info-parser.h \ - gtkentryaction.c gtkentryaction.h \ - yelp-search.c yelp-search.h \ - yelp-search-parser.c yelp-search-parser.h +yelp_SOURCES = \ + yelp-application.c yelp-application.h \ + yelp.c + +# yelp-base.c yelp-base.h \ +# yelp-bookmarks.c yelp-bookmarks.h \ +# yelp-error.c yelp-error.h \ +# yelp-html.c yelp-html.h \ +# yelp-io-channel.c yelp-io-channel.h \ +# yelp-settings.c yelp-settings.h \ +# yelp-utils.c yelp-utils.h \ +# yelp-window.c yelp-window.h \ +# yelp-marshal.c yelp-marshal.h \ +# yelp-main.c \ +# yelp-page.c yelp-page.h \ +# yelp-transform.c yelp-transform.h \ +# yelp-document.h yelp-document.c \ +# yelp-toc.h yelp-toc.c \ +# yelp-docbook.h yelp-docbook.c \ +# yelp-db-print.c yelp-db-print.h \ +# yelp-mallard.h yelp-mallard.c \ +# yelp-man-parser.c yelp-man-parser.h \ +# yelp-man.c yelp-man.h \ +# yelp-info.c yelp-info.h \ +# yelp-info-parser.c yelp-info-parser.h \ +# gtkentryaction.c gtkentryaction.h \ +# yelp-search.c yelp-search.h \ +# yelp-search-parser.c yelp-search-parser.h YELP_DEFINES = \ @@ -81,76 +84,19 @@ yelp_SOURCES += eggsmclient-osx.c endif endif -check_PROGRAMS = \ - test-document \ - test-man-parser \ - test-page \ - test-transform \ - test-resolver - -test_document_SOURCES = \ - yelp-debug.c yelp-debug.h \ - yelp-docbook.c yelp-docbook.h \ - yelp-document.c yelp-document.h \ - yelp-error.c yelp-error.h \ - yelp-io-channel.c yelp-io-channel.h \ - yelp-mallard.c yelp-mallard.h \ - yelp-man.c yelp-man.h \ - yelp-man-parser.c yelp-man-parser.h \ - yelp-page.c yelp-page.h \ - yelp-toc.c yelp-toc.h \ - yelp-transform.c yelp-transform.h \ - test-document.c -test_document_CFLAGS = $(YELP_CFLAGS) $(AM_CFLAGS) $(YELP_DEFINES) -test_document_LDADD = $(YELP_LIBS) $(Z_LIBS) $(BZ_LIBS) $(LZMADEC_LIBS) -test_document_LDFLAGS = $(AM_LDFLAGS) - -test_man_parser_SOURCES = \ - yelp-debug.c yelp-debug.h \ - yelp-error.c yelp-error.h \ - yelp-io-channel.c yelp-io-channel.h \ - yelp-man-parser.c yelp-man-parser.h \ - test-man-parser.c -test_man_parser_CPPFLAGS = $(YELP_DEFINES) $(AM_CPPFLAGS) -test_man_parser_CFLAGS = $(YELP_CFLAGS) $(AM_CFLAGS) -test_man_parser_LDADD = $(YELP_LIBS) $(Z_LIBS) $(BZ_LIBS) $(LZMADEC_LIBS) -test_man_parser_LDFLAGS = $(AM_LDFLAGS) - -test_page_SOURCES = \ - yelp-debug.c yelp-debug.h \ - yelp-document.c yelp-document.h \ - yelp-error.c yelp-error.h \ - yelp-page.c yelp-page.h \ - test-page.c -test_page_CFLAGS = $(YELP_CFLAGS) $(AM_CFLAGS) $(YELP_DEFINES) -test_page_LDADD = $(YELP_LIBS) -test_page_LDFLAGS = $(AM_LDFLAGS) - -test_transform_SOURCES = \ - yelp-debug.c yelp-debug.h \ - yelp-error.c yelp-error.h \ - yelp-transform.c yelp-transform.h \ - test-transform.c -test_transform_CFLAGS = $(YELP_CFLAGS) $(AM_CFLAGS) $(YELP_DEFINES) -test_transform_LDADD = $(YELP_LIBS) -test_transform_LDFLAGS = $(AM_LDFLAGS) - -test_resolver_SOURCES = \ - yelp-debug.c yelp-debug.h \ - yelp-error.c yelp-error.h \ - yelp-utils.c yelp-utils.h \ - test-resolver.c -test_resolver_CFLAGS = $(YELP_CFLAGS) $(AM_CFLAGS) $(YELP_DEFINES) -test_resolver_LDADD = $(YELP_LIBS) -test_resolver_LDFLAGS = $(AM_LDFLAGS) - -@INTLTOOL_SERVER_RULE@ - -BUILT_SOURCES = yelp-marshal.h stamp-yelp-marshal.h yelp-marshal.c server-bindings.h \ - client-bindings.h +BUILT_SOURCES = \ + yelp-dbus.h \ + yelp-marshal.h \ + stamp-yelp-marshal.h \ + yelp-marshal.c \ + server-bindings.h \ + client-bindings.h noinst_HEADERS = $(BUILT_SOURCES) +yelp-dbus.h: yelp-dbus.xml + dbus-binding-tool --prefix=yelp --mode=glib-server $<> $@ + server-bindings.h: yelp-infos.xml dbus-binding-tool --prefix=server_object --mode=glib-server $< > $@ @@ -179,6 +125,8 @@ MAINTAINERCLEANFILES = $(BUILT_SOURCES) EXTRA_DIST = yelp-marshal.list yelp-infos.xml yelp-print.c yelp-print.h + + install-exec-hook: rm -f $(DESTDIR)$(bindir)/gnome-help && \ $(LN_S) yelp $(DESTDIR)$(bindir)/gnome-help |