EXTRA_DIST += \
src/ui/gui/OChangeLog \
src/ui/gui/marshaller-list \
- src/ui/gui/pspp.desktop
+ src/ui/gui/gen-dot-desktop.sh
+
if HAVE_GUI
bin_PROGRAMS += src/ui/gui/psppire
AM_CPPFLAGS += -Isrc
+src/ui/gui/pspp.desktop: src/ui/gui/gen-dot-desktop.sh $(POFILES)
+ POFILES="$(POFILES)" top_builddir="$(top_builddir)" $(SHELL) $< > $@
+
+CLEANFILES+=src/ui/gui/pspp.desktop
+
src/ui/gui/psppire-marshal.c: src/ui/gui/marshaller-list
echo '#include <config.h>' > $@
$(GLIB_GENMARSHAL) --body --prefix=psppire_marshal $? >> $@