~ubuntu-branches/ubuntu/maverick/libaosd/maverick

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Bazaar Package Importer
  • Author(s): William Pitcock
  • Date: 2007-11-30 07:42:21 UTC
  • Revision ID: james.westby@ubuntu.com-20071130074221-8yt6spn1ns6rfw7e
Tags: upstream-0.1.3
ImportĀ upstreamĀ versionĀ 0.1.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
SUBDIRS = libaosd \
 
2
          examples
 
3
DISTCLEAN = autom4te.cache aclocal.m4 buildsys.mk config.h config.log config.status extra.mk libaosd.pc
 
4
EXTRA = libaosd.pc
 
5
 
 
6
include buildsys.mk
 
7
 
 
8
install-extra:
 
9
        for i in ${EXTRA}; do \
 
10
            ${INSTALL_STATUS}; \
 
11
            if ${MKDIR_P} ${DESTDIR}${libdir}/pkgconfig && ${INSTALL} -m 644 $$i ${DESTDIR}${libdir}/pkgconfig/$$i; then \
 
12
                ${INSTALL_OK}; \
 
13
            else \
 
14
                ${INSTALL_FAILED}; \
 
15
            fi \
 
16
        done
 
17
 
 
18
uninstall-extra:
 
19
        for i in ${EXTRA}; do \
 
20
            if [ -f ${DESTDIR}${libdir}/pkgconfig/$$i ]; then \
 
21
                    if rm -f ${DESTDIR}${libdir}/pkgconfig/$$i; then \
 
22
                            ${DELETE_OK}; \
 
23
                    else \
 
24
                            ${DELETE_FAILED}; \
 
25
                    fi \
 
26
            fi \
 
27
        done