~ubuntu-branches/ubuntu/lucid/autoconf/lucid

« back to all changes in this revision

Viewing changes to lib/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Ben Pfaff
  • Date: 2002-03-27 21:52:33 UTC
  • Revision ID: james.westby@ubuntu.com-20020327215233-r3gmxall0x27s306
Tags: upstream-2.53
ImportĀ upstreamĀ versionĀ 2.53

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
## Process this file with automake to create Makefile.in
 
2
 
 
3
## Copyright 2002 Free Software Foundation, Inc.
 
4
##
 
5
## This program is free software; you can redistribute it and/or modify
 
6
## it under the terms of the GNU General Public License as published by
 
7
## the Free Software Foundation; either version 2, or (at your option)
 
8
## any later version.
 
9
##
 
10
## This program is distributed in the hope that it will be useful,
 
11
## but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
13
## GNU General Public License for more details.
 
14
##
 
15
## You should have received a copy of the GNU General Public License
 
16
## along with this program; if not, write to the Free Software
 
17
## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 
18
## 02111-1307, USA.
 
19
 
 
20
SUBDIRS = Autom4te m4sugar autoconf autotest autoscan emacs
 
21
nodist_pkgdata_DATA = autom4te.cfg
 
22
EXTRA_DIST = autom4te.in freeze.mk
 
23
 
 
24
edit = sed \
 
25
        -e 's,@SHELL\@,$(SHELL),g' \
 
26
        -e 's,@PERL\@,$(PERL),g' \
 
27
        -e 's,@bindir\@,$(bindir),g' \
 
28
        -e 's,@datadir\@,$(pkgdatadir),g' \
 
29
        -e 's,@prefix\@,$(prefix),g' \
 
30
        -e 's,@autoconf-name\@,'`echo autoconf | sed '$(transform)'`',g' \
 
31
        -e 's,@autoheader-name\@,'`echo autoheader | sed '$(transform)'`',g' \
 
32
        -e 's,@autom4te-name\@,'`echo autom4te | sed '$(transform)'`',g' \
 
33
        -e 's,@M4\@,$(M4),g' \
 
34
        -e 's,@AWK\@,$(AWK),g' \
 
35
        -e 's,@VERSION\@,$(VERSION),g' \
 
36
        -e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME),g'
 
37
 
 
38
# All the files below depend on configure.ac so that they are rebuilt
 
39
# when the Autoconf version changes. Unfortunately, suffix rules
 
40
# cannot have additional dependencies, so we have to use explicit rules.
 
41
CLEANFILES = autom4te.cfg
 
42
autom4te.cfg: $(top_srcdir)/configure.ac $(srcdir)/autom4te.in
 
43
        rm -f autom4te.cfg autom4te.tmp
 
44
        $(edit) $(srcdir)/autom4te.in >autom4te.tmp
 
45
        mv autom4te.tmp autom4te.cfg