SUBDIRS = icons desktop_in_files = gfax.desktop.in desktop_files = $(desktop_in_files:.desktop.in=.desktop) @INTLTOOL_DESKTOP_RULE@ Applicationsdir = $(datadir)/applications Applications_DATA = $(desktop_files) schemas_in_files = gfax.schemas.in schemasdir = $(GCONF_SCHEMA_FILE_DIR) schemas_DATA = $(schemas_in_files:.schemas.in=.schemas) @INTLTOOL_SCHEMAS_RULE@ if GCONF_SCHEMAS_INSTALL 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 $(srcdir)/$$p ; \ done \ fi else install-data-local: endif cups-gfax: backenddir = $(DESTDIR)$(libdir)/cups/backend backend_EXEC = cups-gfax backend_availabledir = $(DESTDIR)$(libdir)/cups/backend-available backend_available_EXEC = cups-gfax install-exec-hook: $(INSTALL_PROGRAM) $(backend_EXEC) $(backenddir) $(INSTALL_PROGRAM) $(backend_available_EXEC) $(backend_availabledir) uninstall-local: rm -f $(backenddir)/$(backend_EXEC) rm -f $(backend_availabledir)/$(backend_available_EXEC) EXTRA_DIST = \ $(backend_EXEC) \ $(backend_available_EXEC) \ $(desktop_in_files) \ $(desktop_files) \ $(schemas_in_files) \ $(schemas_DATA) DISTCLEANFILES = \ $(desktop_files) \ $(schemas_DATA)