X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Fui%2Fgui%2Fautomake.mk;h=59200b09a7dd6c6454ec2031eb6fb2ef1792ddc5;hb=137fae2d8d88234543d9b41286c20e6ba8b2cd98;hp=707eeed199855bee561db9f8a1d254519810fa07;hpb=9021515cfa1489f9cd37e7440807bdd1d40de37a;p=pspp
diff --git a/src/ui/gui/automake.mk b/src/ui/gui/automake.mk
index 707eeed199..59200b09a7 100644
--- a/src/ui/gui/automake.mk
+++ b/src/ui/gui/automake.mk
@@ -47,7 +47,16 @@ UI_FILES = \
src/ui/gui/var-sheet.ui \
src/ui/gui/var-type-dialog.ui
+
+$(srcdir)/doc/help-pages-list: $(UI_FILES)
+ cat $^ | grep '"help-page"' | \
+ sed -e 's% *\([^<]*\)%//*[@id='"'"'\1'"'"']%' \
+ -e 's%#%'"'"']/*[@id='"'"'%g' > $@
+EXTRA_DIST += doc/help-pages-list
+
+
EXTRA_DIST += \
+ src/ui/gui/memorandum.txt \
src/ui/gui/artwork/actions/.empty \
src/ui/gui/artwork/apps/scalable/.empty \
src/ui/gui/gen-dot-desktop.sh \
@@ -57,10 +66,10 @@ EXTRA_DIST += \
if HAVE_GUI
bin_PROGRAMS += src/ui/gui/psppire
-noinst_PROGRAMS += src/ui/gui/spreadsheet-test
+noinst_PROGRAMS += src/ui/gui/spreadsheet-test
-src_ui_gui_psppire_CFLAGS = $(GTK_CFLAGS) $(GTKSOURCEVIEW_CFLAGS) -Wall -DGDK_MULTIHEAD_SAFE=1
-src_ui_gui_spreadsheet_test_CFLAGS = $(GTK_CFLAGS) -Wall -DGDK_MULTIHEAD_SAFE=1
+src_ui_gui_psppire_CFLAGS = $(GTK_CFLAGS) $(GTKSOURCEVIEW_CFLAGS) -Wall -DGDK_MULTIHEAD_SAFE=1
+src_ui_gui_spreadsheet_test_CFLAGS = $(GTK_CFLAGS) -Wall -DGDK_MULTIHEAD_SAFE=1
src_ui_gui_psppire_LDFLAGS = \
@@ -96,7 +105,6 @@ src_ui_gui_spreadsheet_test_LDADD = \
src_ui_gui_spreadsheet_test_SOURCES = src/ui/gui/spreadsheet-test.c src/ui/gui/psppire-spreadsheet-model.c
-
src_ui_gui_psppiredir = $(pkgdatadir)
@@ -335,16 +343,16 @@ PHONY += yelp-check
AM_CPPFLAGS += -Isrc
src/ui/gui/pspp.desktop: src/ui/gui/gen-dot-desktop.sh $(POFILES)
- POFILES="$(POFILES)" top_builddir="$(top_builddir)" $(SHELL) $< > $@
+ $(AM_V_GEN)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 ' > $@
- $(GLIB_GENMARSHAL) --body --prefix=psppire_marshal $? >> $@
+ $(AM_V_GEN)echo '#include ' > $@
+ $(AM_V_at)$(GLIB_GENMARSHAL) --body --prefix=psppire_marshal $? >> $@
src/ui/gui/psppire-marshal.h: src/ui/gui/marshaller-list
- $(GLIB_GENMARSHAL) --header --prefix=psppire_marshal $? > $@
+ $(AM_V_GEN)$(GLIB_GENMARSHAL) --header --prefix=psppire_marshal $? > $@
desktopdir = $(datadir)/applications
desktop_DATA = src/ui/gui/pspp.desktop