~noskcaj/ubuntu/trusty/libpng/libpng

« back to all changes in this revision

Viewing changes to scripts/makefile.openbsd

  • Committer: Bazaar Package Importer
  • Author(s): Steve Langasek
  • Date: 2010-01-28 11:57:34 UTC
  • mfrom: (1.1.11 upstream) (15.2.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100128115734-5b6dgb3hf38bw9cn
Tags: 1.2.42-1ubuntu1
* Merge from Debian testing.  Remaining changes:
  - Move libpng from /usr/lib to /lib, so that plymouth is usable on
    systems with a separate /usr.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# makefile for libpng
2
2
# Copyright (C) 1995 Guy Eric Schalnat, Group 42, Inc.
3
 
# Copyright (C) 2007-2008 Glenn Randers-Pehrson
 
3
# Copyright (C) 2007-2009 Glenn Randers-Pehrson
4
4
#
5
5
# This code is released under the libpng license.
6
6
# For conditions of distribution and use, see the disclaimer
11
11
MANDIR= ${PREFIX}/man/cat
12
12
 
13
13
SHLIB_MAJOR=    0
14
 
SHLIB_MINOR=    1.2.41
 
14
SHLIB_MINOR=    1.2.42
15
15
 
16
16
LIB=    png
17
17
SRCS=   png.c pngerror.c pngget.c pngmem.c pngpread.c \
42
42
 
43
43
beforeinstall:
44
44
        if [ ! -d ${DESTDIR}${PREFIX}/include/libpng ]; then \
45
 
          ${INSTALL} -d -o root -g wheel ${DESTDIR}${PREFIX}/include/libpng; \
 
45
          ${INSTALL} -d -o root -g wheel ${DESTDIR}${PREFIX}/include; \
46
46
        fi
47
47
        if [ ! -d ${DESTDIR}${LIBDIR} ]; then \
48
48
          ${INSTALL} -d -o root -g wheel ${DESTDIR}${LIBDIR}; \
67
67
        @rm -f ${DESTDIR}${PREFIX}/include/pngconf.h
68
68
        @rmdir ${DESTDIR}${LIBDIR}/debug 2>/dev/null || true
69
69
        ${INSTALL} ${INSTALL_COPY} -o ${SHAREOWN} -g ${SHAREGRP} \
70
 
                -m ${NONBINMODE} ${HDRS} ${DESTDIR}${PREFIX}/include/libpng
 
70
                -m ${NONBINMODE} ${HDRS} ${DESTDIR}${PREFIX}/include
71
71
        ${INSTALL} ${INSTALL_COPY} -o ${SHAREOWN} -g ${SHAREGRP} \
72
72
                -m ${NONBINMODE} ${HDRS} ${DESTDIR}${PREFIX}/include
73
73
        ${INSTALL} ${INSTALL_COPY} -o ${SHAREOWN} -g ${SHAREGRP} \