--- Makefile.am.old 2011-01-24 20:40:08.989802335 +0100 +++ Makefile.am 2011-01-24 20:40:23.913135667 +0100 @@ -332,6 +332,7 @@ hppgsz_CFLAGS = $(libapdk_la_CFLAGS) hppgsz_LDADD = libapdk.la -ljpeg -ldl +if GUI_BUILD # hplip.desktop hplip_desktopdir = $(icondir) hplip_desktop_DATA = hplip.desktop @@ -339,6 +340,7 @@ # hplip-systray.desktop hplip_systraydir = $(systraydir) hplip_systray_DATA = hplip-systray.desktop +endif # hpipjs (CUPS filter) hplipjsdir = $(cupsfilterdir)