help-pages-list: Distribute.
authorBen Pfaff <blp@cs.stanford.edu>
Tue, 10 Mar 2015 02:45:32 +0000 (19:45 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Tue, 10 Mar 2015 02:45:32 +0000 (19:45 -0700)
Otherwise "make distcheck" will have to regenerate it, which means
that it will have to regenerate doc/pspp.xml (because it depends on
help-pages-list) but that's not possible under "make distcheck"
because it makes the source directory read-only.

Found by PSPP autobuilder.

src/ui/gui/automake.mk

index 65f45f8f987866b0a36381c2c6cca9d766e01ad1..1b3acc3c5919c5c0823032a2fe385b94da66ca07 100644 (file)
@@ -48,10 +48,11 @@ UI_FILES = \
        src/ui/gui/var-type-dialog.ui
 
 
-doc/help-pages-list: $(UI_FILES)
+$(srcdir)/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 += doc/help-pages-list
 
 
 EXTRA_DIST += \