~ubuntu-branches/debian/squeeze/intltool/squeeze

« back to all changes in this revision

Viewing changes to Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2008-06-04 08:33:24 UTC
  • mfrom: (1.3.1 upstream) (4.1.16 hardy)
  • Revision ID: james.westby@ubuntu.com-20080604083324-3ze9v7vq1u97wujt
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 
20
20
# These are required by intltoolize
21
21
dist_pkgdata_DATA =     Makefile.in.in
22
 
nodist_pkgdata_DATA =   $(distributed_scripts:=.in)
23
22
 
24
23
# This macro file should be visible to Automake's aclocal.
25
24
dist_aclocal_DATA = intltool.m4
26
25
 
27
26
CLEANFILES =                                    \
28
27
        $(bin_SCRIPTS)                          \
29
 
        $(EXTRA_SCRIPTS)                        \
30
 
        $(nodist_pkgdata_DATA)
 
28
        $(EXTRA_SCRIPTS)
31
29
 
32
30
EXTRA_DIST =                                    \
33
 
        $(distributed_scripts:=.in.in)          \
 
31
        $(distributed_scripts:=.in)             \
34
32
        intltool-prepare.in                     \
35
33
        intltool-unicodify.in                   \
36
34
        intltool.spec
37
35
 
38
 
edit_in_in = sed -e 's|[@]PACKAGE@|$(PACKAGE)|g' \
39
 
            -e 's|[@]VERSION@|$(VERSION)|g'
40
 
 
41
 
edit = $(edit_in_in) -e "s|[@]INTLTOOL_PERL@|$(PERL)|g" \
42
 
            -e "s|[@]INTLTOOL_ICONV@|$(INTLTOOL_ICONV)|g" \
43
 
            -e "s|[@]INTLTOOL_MSGFMT@|$(INTLTOOL_MSGFMT)|g" \
44
 
            -e "s|[@]INTLTOOL_MSGMERGE@|$(INTLTOOL_MSGMERGE)|g" \
45
 
            -e "s|[@]INTLTOOL_XGETTEXT@|$(INTLTOOL_XGETTEXT)|g" \
46
 
            -e "s|[@]INTLTOOL_EXTRACT@|$(bindir)/intltool-extract|g" \
47
 
            -e "s|[@]INTLTOOL_LIBDIR@|$(libdir)|g"
48
 
 
49
 
intltool-extract.in: intltool-extract.in.in Makefile
50
 
        $(edit_in_in) "$(srcdir)/intltool-extract.in.in" > $@
51
 
 
52
 
intltool-merge.in: intltool-merge.in.in Makefile
53
 
        $(edit_in_in) "$(srcdir)/intltool-merge.in.in" > $@
54
 
 
55
 
intltool-update.in: intltool-update.in.in Makefile
56
 
        $(edit_in_in) "$(srcdir)/intltool-update.in.in" > $@
 
36
edit = sed -e 's|[@]PACKAGE@|$(PACKAGE)|g' \
 
37
           -e 's|[@]VERSION@|$(VERSION)|g' \
 
38
           -e "s|[@]INTLTOOL_PERL@|$(PERL)|g" \
 
39
           -e "s|[@]INTLTOOL_LIBDIR@|$(libdir)|g"
57
40
 
58
41
%: %.in Makefile
59
42
        $(edit) < $< > $@
 
43
        chmod +x $@