Makefile.am 1.34 KB
Newer Older
Jim Krehl's avatar
Jim Krehl committed
1 2 3 4 5 6 7 8
serverdir   = $(libdir)/bonobo/servers
server_DATA = GNOME_MainMenu.server
@INTLTOOL_SERVER_RULE@

uidir   = $(datadir)/gnome-2.0/ui
ui_DATA = GNOME_MainMenu_ContextMenu.xml

gladedir = $(datadir)/$(PACKAGE)
9
glade_DATA = slab-window.glade menu-browser.glade
Jim Krehl's avatar
Jim Krehl committed
10 11 12 13 14 15 16 17

desktopdir   = $(datadir)/applications
ab_desktop   = application-browser.desktop
mm_desktop   = gnome-screensaver-lock.desktop gnome-session-kill.desktop
desktop_DATA = $(ab_desktop) $(mm_desktop)
@INTLTOOL_DESKTOP_RULE@

schemasdir   = @GCONF_SCHEMA_FILE_DIR@
18
schemas_DATA = application-browser.schemas gnome-main-menu.schemas
Jim Krehl's avatar
Jim Krehl committed
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
@INTLTOOL_SCHEMAS_RULE@

bookmarkdir = $(datadir)/$(PACKAGE)
bookmark_DATA = applications.xbel documents.xbel system-items.xbel places.xbel empty.ods

$(server_DATA).in: $(server_DATA).in.in
	sed -e "s|\@LIBEXECDIR\@|$(libexecdir)|" $< > $@

install-data-local:
	if test -z "$(DESTDIR)" ; then \
		for p in $(schemas_DATA) ; do \
			GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $$p; \
		done \
	fi

if ENABLE_DYNAMIC_LIBSLAB
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libslab.pc
endif

EXTRA_DIST =			\
40
	$(ab_desktop).in	\
Jim Krehl's avatar
Jim Krehl committed
41
	$(mm_desktop)		\
42
	$(schemas_DATA).in	\
Jim Krehl's avatar
Jim Krehl committed
43 44 45 46 47 48
	$(bookmark_DATA)	\
	$(ui_DATA)		\
	$(server_DATA).in.in	\
	$(glade_DATA)

CLEANFILES =			\
49
	$(ab_desktop)		\
Jim Krehl's avatar
Jim Krehl committed
50
	$(schemas_DATA)		\
51 52
	$(server_DATA).in	\
	$(server_DATA)