fix install without building fltk.pdf

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8145 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
yuri 2010-12-30 21:08:01 +00:00
parent 0f42da625a
commit 181492b446
1 changed files with 4 additions and 2 deletions

View File

@ -79,8 +79,10 @@ install: $(MANPAGES)
$(INSTALL_DATA) $$file $(DESTDIR)$(docdir); \
done \
fi
echo "Installing fltk.pdf in $(DESTDIR)$(docdir) ..."
$(INSTALL_DATA) fltk.pdf $(DESTDIR)$(docdir)
if test -f fltk.pdf ; then \
echo "Installing fltk.pdf in $(DESTDIR)$(docdir) ..."; \
$(INSTALL_DATA) fltk.pdf $(DESTDIR)$(docdir); \
fi
echo "Installing man pages in $(DESTDIR)$(mandir) ..."
-$(INSTALL_DIR) $(DESTDIR)$(mandir)/cat1
$(INSTALL_MAN) $(SRC_DOCDIR)/fluid.$(CAT1EXT) $(DESTDIR)$(mandir)/cat1