summaryrefslogtreecommitdiff
path: root/builds
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2014-01-06 07:53:10 +0100
committerWerner Lemberg <wl@gnu.org>2014-01-06 07:53:10 +0100
commit3e5a374848195bd39f8bfdeaa83cff9bbfae392d (patch)
treef755ce915c49099b41c5db0cc164352807758ba2 /builds
parent0c1d62d6365dc51c10f6d06149b1b0e4de40b11b (diff)
downloadfreetype2-3e5a374848195bd39f8bfdeaa83cff9bbfae392d.tar.gz
Add manual page for `freetype-config'.
Contributed by Nis Martensen <nis.martensen@web.de>. * docs/freetype-config.1: New file. * builds/unix/unix-def.in (mandir): Define. * builds/unix/install.mk (install, uninstall): Handle manpage.
Diffstat (limited to 'builds')
-rw-r--r--builds/unix/install.mk5
-rw-r--r--builds/unix/unix-def.in3
2 files changed, 6 insertions, 2 deletions
diff --git a/builds/unix/install.mk b/builds/unix/install.mk
index 9cd954875..029b19263 100644
--- a/builds/unix/install.mk
+++ b/builds/unix/install.mk
@@ -3,7 +3,7 @@
#
-# Copyright 1996-2000, 2002, 2003, 2006, 2013 by
+# Copyright 1996-2000, 2002, 2003, 2006, 2013, 2014 by
# David Turner, Robert Wilhelm, and Werner Lemberg.
#
# This file is part of the FreeType project, and may only be used, modified,
@@ -58,6 +58,8 @@ install: $(PROJECT_LIBRARY)
$(DESTDIR)$(datadir)/aclocal/freetype2.m4
$(INSTALL_SCRIPT) -m 644 $(OBJ_BUILD)/freetype2.pc \
$(DESTDIR)$(libdir)/pkgconfig/freetype2.pc
+ $(INSTALL_DATA) $(TOP_DIR)/docs/freetype-config.1 \
+ $(DESTDIR)$(mandir)/man1/freetype-config.1
uninstall:
@@ -69,6 +71,7 @@ uninstall:
-$(DELETE) $(DESTDIR)$(bindir)/freetype-config
-$(DELETE) $(DESTDIR)$(datadir)/aclocal/freetype2.m4
-$(DELETE) $(DESTDIR)$(libdir)/pkgconfig/freetype2.pc
+ -$(DELETE) $(DESTDIR)$(mandir)/man1/freetype-config.1
check:
diff --git a/builds/unix/unix-def.in b/builds/unix/unix-def.in
index 491e97486..f74156586 100644
--- a/builds/unix/unix-def.in
+++ b/builds/unix/unix-def.in
@@ -3,7 +3,7 @@
#
-# Copyright 1996-2000, 2002, 2004, 2006, 2008, 2013 by
+# Copyright 1996-2000, 2002, 2004, 2006, 2008, 2013, 2014 by
# David Turner, Robert Wilhelm, and Werner Lemberg.
#
# This file is part of the FreeType project, and may only be used, modified,
@@ -55,6 +55,7 @@ bindir := @bindir@
includedir := @includedir@
datarootdir := @datarootdir@
datadir := @datadir@
+mandir := @mandir@
version_info := @version_info@