summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTommy Reynolds <Tommy.Reynolds@MegaCoder.com>2005-10-30 19:15:40 +0000
committerTommy Reynolds <Tommy.Reynolds@MegaCoder.com>2005-10-30 19:15:40 +0000
commit6643d8d17f93d1de25460746c3ca5849e8bc1b23 (patch)
tree7660fa2c6dfe8781e5df5f2736539340e89d545a
parent9dd78f069eb623d0b3db83f1ac5fd9f02ad4111d (diff)
downloadfedora-doc-utils-6643d8d17f93d1de25460746c3ca5849e8bc1b23.tar.gz
fedora-doc-utils-6643d8d17f93d1de25460746c3ca5849e8bc1b23.tar.xz
fedora-doc-utils-6643d8d17f93d1de25460746c3ca5849e8bc1b23.zip
Do not break the make during an HTML build if the document directory is
without a "figs/" subdirectory. Originally used the wrong test, sorry.
-rw-r--r--Makefile.common2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.common b/Makefile.common
index d7b5380..568ed1c 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -77,7 +77,7 @@ ${DOCBASE}-$(1)/index.html:: ${DOCBASE}-$(1).xml $$(XMLEXTRAFILES-$(1))
mkdir -p $(DOCBASE)-$(1)/stylesheet-images/
cp ${FDPDIR}/docs-common/stylesheet-images/*.png $(DOCBASE)-$(1)/stylesheet-images
cp ${FDPDIR}/docs-common/css/fedora.css $$(DOCBASE)-$(1)/
- [ -d figs ] && ( \
+ [ ! -d figs ] || ( \
mkdir -p ${DOCBASE}-$(1)/figs; \
find figs -type f -iname '*.*' -print | \
egrep -vi '*.eps' | \