mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-08 16:35:40 +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
|
||||
|
||||
if HAVE_FIG2DEV_PNG
|
||||
$(manualname)/$(htmlname): $(sgml_files) $(png_files)
|
||||
PNGS_TO_MAKE=$(png_files)
|
||||
else
|
||||
$(manualname)/$(htmlname): $(sgml_files)
|
||||
PNGS_TO_MAKE=
|
||||
endif
|
||||
|
||||
$(manualname)/$(htmlname): $(sgml_files) $(PNGS_TO_MAKE)
|
||||
if HAVE_DB2HTML
|
||||
db2html $(manualname).sgml
|
||||
else
|
||||
|
@ -54,7 +55,11 @@ images/%.eps : %.fig images
|
|||
endif
|
||||
|
||||
$(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
|
||||
htmldist: htmldocs
|
||||
|
|
Loading…
Reference in a new issue