Hi folks,
If I run
configure --prefix=/tmp
make install
, then I get:
:
:
Making install in modules
make[2]: Entering directory `/var/tmp/fvwm-snap-20070624/doc/modules'
make[3]: Entering directory `/var/tmp/fvwm-snap-20070624/doc/modules'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/tmp/share/doc/fvwm/modules" || mkdir -p --
"/tmp/share/doc/fvwm/modules"
make[3]: Leaving directory `/var/tmp/fvwm-snap-20070624/doc/modules'
cp: cannot stat `images': No such file or directory
make[2]: *** [install] Error 1
make[2]: Leaving directory `/var/tmp/fvwm-snap-20070624/doc/modules'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/var/tmp/fvwm-snap-20070624/doc'
make: *** [install-recursive] Error 1
Attached you can find a patch.
Hope this helps. Regards
Harri
--- ../fvwm-snap-20070624/doc/modules/Makefile.am 2007-06-10
10:00:03.000000000 +0200
+++ doc/modules/Makefile.am 2007-06-24 15:52:04.000000000 +0200
@@ -18,7 +18,6 @@
if FVWM_BUILD_HTMLDOC
doc_DATA=$(HTML_FILES)
-all: $(HTML_FILES) imagedir
endif
QUIET=@
@@ -48,12 +47,12 @@
$(QUIET) $(XSLTPROC) --path .. --xinclude \
$(XSL_MAN_FILE) $<.p && rm $<.p
-imagedir:
- @ [ ! -d images ] && cp -rp $(srcdir)/images . || true
+if FVWM_BUILD_HTMLDOC
-install: install-am
- @ cp -rp images $(docdir)
+install-data-local:
+ @ cp -rp $(srcdir)/images $(docdir)
+endif
# All HTML output is generated from XML files.
# %.html : $(srcdir)/%.xml