+install-gnome: screensaver-properties.desktop
+ @lost1="" ;\
+ lost2="" ;\
+ if [ "$(GNOME_DATADIR)" != "" ]; then \
+ \
+ if [ ! -d "$(install_prefix)$(GNOME_CCDIR)" ]; then \
+ echo $(INSTALL_DIRS) "$(install_prefix)$(GNOME_CCDIR)" ;\
+ $(INSTALL_DIRS) "$(install_prefix)$(GNOME_CCDIR)" ;\
+ fi ;\
+ \
+ echo $(INSTALL_DATA) $(srcdir)/screensaver-properties.desktop \
+ $(install_prefix)$(GNOME_CCDIR)/screensaver-properties.desktop ;\
+ \
+ if $(INSTALL_DATA) $(srcdir)/screensaver-properties.desktop \
+ $(install_prefix)$(GNOME_CCDIR)/screensaver-properties.desktop ;\
+ then true ;\
+ else \
+ lost1="$(install_prefix)$(GNOME_CCDIR)" ;\
+ fi ;\
+ \
+ if [ ! -d "$(install_prefix)$(GNOME_PANELDIR)" ]; then \
+ echo $(INSTALL_DIRS) "$(install_prefix)$(GNOME_PANELDIR)" ;\
+ $(INSTALL_DIRS) "$(install_prefix)$(GNOME_PANELDIR)" ;\
+ fi ;\
+ \
+ echo $(INSTALL_DATA) $(srcdir)/screensaver-properties.desktop \
+ $(GNOME_PANELDIR)/screensaver-properties.desktop ;\
+ if $(INSTALL_DATA) $(srcdir)/screensaver-properties.desktop \
+ $(install_prefix)$(GNOME_PANELDIR)/screensaver-properties.desktop ;\
+ then true ;\
+ else \
+ lost2="$(install_prefix)$(GNOME_PANELDIR)" ;\
+ fi ;\
+ \
+ if [ "$$lost1" != "" -o "$$lost2" != "" ]; then \
+ e=echo ; \
+ $$e "" ;\
+ $$e " ####################################################################";\
+ $$e " Warning: unable to install screensaver-properties.desktop into" ;\
+ plurality="this file" ;\
+ if [ "$$lost1" != "" -a "$$lost2" != "" ]; then \
+ $$e " $$lost1/ or into" ;\
+ $$e " $$lost2/." ;\
+ plurality="these files" ;\
+ elif [ "$$lost1" != "" ]; then \
+ $$e " $$lost1/." ;\
+ else \
+ $$e " $$lost2/." ;\
+ fi ;\
+ $$e " Without $$plurality," 'the "Screen Saver" section of the' ;\
+ $$e " Gnome Control Center (gnomecc) will not work properly." ;\
+ $$e " ####################################################################";\
+ $$e "" ;\
+ exit 1 ; \
+ fi ;\
+ fi
+
+uninstall-gnome:
+ @if [ "$(install_prefix)$(GNOME_DATADIR)" != "" ]; then \
+ f=screensaver-properties.desktop ;\
+ echo rm -f $(install_prefix)$(GNOME_CCDIR)/$$f ;\
+ rm -f $(install_prefix)$(GNOME_CCDIR)/$$f ;\
+ echo rm -f $(install_prefix)$(GNOME_PANELDIR)/$$f ;\
+ rm -f $(install_prefix)$(GNOME_PANELDIR)/$$f ;\
+ fi
+