~ubuntu-branches/ubuntu/gutsy/avr-libc/gutsy

« back to all changes in this revision

Viewing changes to scripts/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Hakan Ardo
  • Date: 2006-05-01 12:03:39 UTC
  • mto: (3.1.1 edgy)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20060501120339-q93dxulpunby36dj
Tags: upstream-1.4.4
ImportĀ upstreamĀ versionĀ 1.4.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (c) 2004, Joerg Wunsch
 
1
# Copyright (c) 2005,  Joerg Wunsch
2
2
# All rights reserved.
3
3
#
4
4
# Redistribution and use in source and binary forms, with or without
25
25
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26
26
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27
27
# POSSIBILITY OF SUCH DAMAGE.
28
 
 
29
 
## Process this file with automake to generate Makefile.in
30
 
 
31
 
bin_SCRIPTS = avr-man
 
28
#
 
29
# $Id: Makefile.am,v 1.4 2005/09/07 20:31:27 joerg_wunsch Exp $
 
30
#
 
31
 
 
32
avrdir = $(prefix)/bin
 
33
 
 
34
avr_SCRIPTS = \
 
35
        avr-man
 
36
 
 
37
EXTRA_DIST = \
 
38
        avr-man.in
 
39
 
 
40
CLEANFILES = $(avr_SCRIPTS)
 
41
 
 
42
do_subst = sed \
 
43
        -e 's,[@]prefix[@],$(prefix),g' \
 
44
        -e 's,[@]datadir[@],$(datadir),g' \
 
45
        -e 's,[@]DOC_INST_DIR[@],$(DOC_INST_DIR),g'
 
46
 
 
47
avr-man: avr-man.in $(top_builddir)/stamp-h1
 
48
        $(do_subst) < $(srcdir)/avr-man.in > avr-man
 
49
        chmod +x avr-man