PsppireDialog: New property: help-page
[pspp] / src / ui / gui / automake.mk
index 7f4d474f6bf6dcea223f92ae33b747698df791ac..65f45f8f987866b0a36381c2c6cca9d766e01ad1 100644 (file)
@@ -47,6 +47,13 @@ UI_FILES = \
        src/ui/gui/var-sheet.ui \
        src/ui/gui/var-type-dialog.ui
 
+
+doc/help-pages-list: $(UI_FILES)
+        cat $^ | grep '"help-page"' | \
+   sed -e 's% *<property name="help-page">\([^<]*\)</property>%//*[@id='"'"'\1'"'"']%' \
+       -e 's%#%'"'"']/*[@id='"'"'%g' > $@
+
+
 EXTRA_DIST += \
        src/ui/gui/artwork/actions/.empty \
        src/ui/gui/artwork/apps/scalable/.empty \
@@ -57,7 +64,7 @@ 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
@@ -96,7 +103,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)