openbsd-ports/x11/fltk/patches/patch-documentation_Makefile
bcallah f09266b1d9 Update x11/fltk to 1.3.2
Take MAINTAINER.
ok sthen@
2013-03-22 22:50:25 +00:00

36 lines
1.5 KiB
Plaintext

$OpenBSD: patch-documentation_Makefile,v 1.2 2013/03/22 22:50:25 bcallah Exp $
--- documentation/Makefile.orig Mon Oct 24 22:17:29 2011
+++ documentation/Makefile Fri Mar 22 17:43:11 2013
@@ -54,7 +54,7 @@ MANPAGES = $(SRC_DOCDIR)/fltk.$(CAT3EXT) $(SRC_DOCDIR)
$(SRC_DOCDIR)/fluid.$(CAT1EXT) $(SRC_DOCDIR)/blocks.$(CAT6EXT) \
$(SRC_DOCDIR)/checkers.$(CAT6EXT) $(SRC_DOCDIR)/sudoku.$(CAT6EXT)
-all: $(MANPAGES)
+all:
# use make dist to create all docs for distribution files
# you need an installed version of doxygen for this
@@ -71,9 +71,8 @@ clean:
depend:
-install: $(MANPAGES)
+install:
echo "Installing documentation files in $(DESTDIR)$(docdir) ..."
- -$(INSTALL_DIR) $(DESTDIR)$(docdir)
if test -f html/index.html ; then \
for file in html/* ; do \
$(INSTALL_DATA) $$file $(DESTDIR)$(docdir); \
@@ -84,11 +83,6 @@ install: $(MANPAGES)
$(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
- $(INSTALL_MAN) $(SRC_DOCDIR)/fltk-config.$(CAT1EXT) $(DESTDIR)$(mandir)/cat1
- -$(INSTALL_DIR) $(DESTDIR)$(mandir)/cat3
- $(INSTALL_MAN) $(SRC_DOCDIR)/fltk.$(CAT3EXT) $(DESTDIR)$(mandir)/cat3
-$(INSTALL_DIR) $(DESTDIR)$(mandir)/man1
$(INSTALL_MAN) $(SRC_DOCDIR)/fluid.man $(DESTDIR)$(mandir)/man1/fluid.1
$(INSTALL_MAN) $(SRC_DOCDIR)/fltk-config.man $(DESTDIR)$(mandir)/man1/fltk-config.1