Skip to content

Commit

Permalink
Documentation makefile: Fixed make install would return an error if h…
Browse files Browse the repository at this point in the history
…tml folder does not exist.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6455 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
fab672000 committed Oct 17, 2008
1 parent b110a85 commit 83c49f6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions documentation/Makefile
Expand Up @@ -214,9 +214,13 @@ depend:
install: $(MANPAGES)
echo "Installing documentation files in $(DESTDIR)$(docdir)..."
-$(INSTALL_DIR) $(DESTDIR)$(docdir)
for file in fltk.pdf html/* ; do \
echo Installing file from $(INST_DOC_DIR)
if test -f html/index.html ; then \
for file in html/* ; do \
$(INSTALL_DATA) $$file $(DESTDIR)$(docdir); \
done
done \
fi
$(INSTALL_DATA) fltk.pdf $(DESTDIR)$(docdir); \
echo "Installing man pages in $(DESTDIR)$(mandir)..."
-$(INSTALL_DIR) $(DESTDIR)$(mandir)/cat1
$(INSTALL_MAN) $(SRC_DOCDIR)/fluid.$(CAT1EXT) $(DESTDIR)$(mandir)/cat1
Expand Down

0 comments on commit 83c49f6

Please sign in to comment.