mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-23 17:14:23 +00:00
Fix build problem when don't have db2html, or a directory to put the manual in: was trying to make a symlink in the n...
Original commit message from CVS: Fix build problem when don't have db2html, or a directory to put the manual in: was trying to make a symlink in the non-existant directory, and causing the build to stop.
This commit is contained in:
parent
a4e3d04aeb
commit
15f298e7cb
1 changed files with 8 additions and 3 deletions
|
@ -11,11 +11,12 @@ PDFFILES=$(manualname).pdf
|
||||||
PSFILES=$(manualname).ps
|
PSFILES=$(manualname).ps
|
||||||
|
|
||||||
if HAVE_FIG2DEV_PNG
|
if HAVE_FIG2DEV_PNG
|
||||||
$(manualname)/$(htmlname): $(sgml_files) $(png_files)
|
PNGS_TO_MAKE=$(png_files)
|
||||||
else
|
else
|
||||||
$(manualname)/$(htmlname): $(sgml_files)
|
PNGS_TO_MAKE=
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
$(manualname)/$(htmlname): $(sgml_files) $(PNGS_TO_MAKE)
|
||||||
if HAVE_DB2HTML
|
if HAVE_DB2HTML
|
||||||
db2html $(manualname).sgml
|
db2html $(manualname).sgml
|
||||||
else
|
else
|
||||||
|
@ -54,7 +55,11 @@ images/%.eps : %.fig images
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$(manualname)/images:
|
$(manualname)/images:
|
||||||
@ln -sf ../images $(manualname)/images
|
@if [ -d $(manualname) ] ; then \
|
||||||
|
if [ -d images ] ; then \
|
||||||
|
ln -sf ../images $(manualname)/images ;\
|
||||||
|
fi \
|
||||||
|
fi
|
||||||
|
|
||||||
htmldocs: $(manualname)/$(htmlname) $(manualname)/images
|
htmldocs: $(manualname)/$(htmlname) $(manualname)/images
|
||||||
htmldist: htmldocs
|
htmldist: htmldocs
|
||||||
|
|
Loading…
Reference in a new issue