~oif-team/ubuntu/natty/qt4-x11/xi2.1

« back to all changes in this revision

Viewing changes to src/3rdparty/freetype/builds/unix/install.mk

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2006-10-12 23:14:14 UTC
  • mto: (15.1.1 lenny) (1.3.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 16.
  • Revision ID: james.westby@ubuntu.com-20061012231414-y2oqbom5dy389os0
Tags: upstream-4.2.0
ImportĀ upstreamĀ versionĀ 4.2.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
#
4
4
 
5
5
 
6
 
# Copyright 1996-2000, 2002, 2003 by
 
6
# Copyright 1996-2000, 2002, 2003, 2006 by
7
7
# David Turner, Robert Wilhelm, and Werner Lemberg.
8
8
#
9
9
# This file is part of the FreeType project, and may only be used, modified,
23
23
.PHONY: install uninstall check
24
24
 
25
25
# Unix installation and deinstallation targets.
 
26
#
 
27
# Note that we no longer install internal headers, and we remove any
 
28
# `internal' subdirectory found in `$(includedir)/freetype2/freetype'.
 
29
#
26
30
install: $(PROJECT_LIBRARY)
27
 
        $(MKINSTALLDIRS) $(DESTDIR)$(libdir)                                 \
28
 
                         $(DESTDIR)$(libdir)/pkgconfig                       \
29
 
                         $(DESTDIR)$(includedir)/freetype2/freetype/config   \
30
 
                         $(DESTDIR)$(includedir)/freetype2/freetype/internal \
31
 
                         $(DESTDIR)$(includedir)/freetype2/freetype/cache    \
32
 
                         $(DESTDIR)$(bindir)                                 \
 
31
        $(MKINSTALLDIRS) $(DESTDIR)$(libdir)                               \
 
32
                         $(DESTDIR)$(libdir)/pkgconfig                     \
 
33
                         $(DESTDIR)$(includedir)/freetype2/freetype/config \
 
34
                         $(DESTDIR)$(includedir)/freetype2/freetype/cache  \
 
35
                         $(DESTDIR)$(bindir)                               \
33
36
                         $(DESTDIR)$(datadir)/aclocal
34
 
        $(LIBTOOL) --mode=install $(INSTALL) \
 
37
        $(LIBTOOL) --mode=install $(INSTALL)                             \
35
38
                                  $(PROJECT_LIBRARY) $(DESTDIR)$(libdir)
36
39
        -for P in $(PUBLIC_H) ; do                           \
37
40
          $(INSTALL_DATA)                                    \
38
41
            $$P $(DESTDIR)$(includedir)/freetype2/freetype ; \
39
42
        done
40
 
        -for P in $(BASE_H) ; do                                      \
41
 
          $(INSTALL_DATA)                                             \
42
 
            $$P $(DESTDIR)$(includedir)/freetype2/freetype/internal ; \
43
 
        done
44
43
        -for P in $(CONFIG_H) ; do                                  \
45
44
          $(INSTALL_DATA)                                           \
46
45
            $$P $(DESTDIR)$(includedir)/freetype2/freetype/config ; \
47
46
        done
48
 
        -for P in $(CACHE_H) ; do                                  \
49
 
          $(INSTALL_DATA)                                          \
50
 
            $$P $(DESTDIR)$(includedir)/freetype2/freetype/cache ; \
51
 
        done
 
47
        -$(DELETE) $(DESTDIR)$(includedir)/freetype2/freetype/cache/*
 
48
        -$(DELDIR) $(DESTDIR)$(includedir)/freetype2/freetype/cache
 
49
        -$(DELETE) $(DESTDIR)$(includedir)/freetype2/freetype/internal/*
 
50
        -$(DELDIR) $(DESTDIR)$(includedir)/freetype2/freetype/internal
52
51
        $(INSTALL_DATA) $(BUILD_DIR)/ft2unix.h \
53
52
          $(DESTDIR)$(includedir)/ft2build.h
54
 
        $(INSTALL_DATA) $(OBJ_BUILD)/ftconfig.h \
 
53
        $(INSTALL_DATA) $(OBJ_BUILD)/ftconfig.h                        \
55
54
          $(DESTDIR)$(includedir)/freetype2/freetype/config/ftconfig.h
 
55
        $(INSTALL_DATA) $(OBJ_DIR)/ftmodule.h                          \
 
56
          $(DESTDIR)$(includedir)/freetype2/freetype/config/ftmodule.h
56
57
        $(INSTALL_SCRIPT) -m 755 $(OBJ_BUILD)/freetype-config \
57
58
          $(DESTDIR)$(bindir)/freetype-config
58
59
        $(INSTALL_SCRIPT) -m 644 $(BUILD_DIR)/freetype2.m4 \
63
64
 
64
65
uninstall:
65
66
        -$(LIBTOOL) --mode=uninstall $(RM) $(DESTDIR)$(libdir)/$(LIBRARY).$A
66
 
        -$(DELETE) $(DESTDIR)$(includedir)/freetype2/freetype/cache/*
67
 
        -$(DELDIR) $(DESTDIR)$(includedir)/freetype2/freetype/cache
68
67
        -$(DELETE) $(DESTDIR)$(includedir)/freetype2/freetype/config/*
69
68
        -$(DELDIR) $(DESTDIR)$(includedir)/freetype2/freetype/config
70
 
        -$(DELETE) $(DESTDIR)$(includedir)/freetype2/freetype/internal/*
71
 
        -$(DELDIR) $(DESTDIR)$(includedir)/freetype2/freetype/internal
72
69
        -$(DELETE) $(DESTDIR)$(includedir)/freetype2/freetype/*
73
70
        -$(DELDIR) $(DESTDIR)$(includedir)/freetype2/freetype
74
71
        -$(DELDIR) $(DESTDIR)$(includedir)/freetype2