~ubuntu-branches/ubuntu/precise/exiv2/precise

« back to all changes in this revision

Viewing changes to doc/templates/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Mercatante
  • Date: 2006-12-07 18:40:10 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20061207184010-0ouu8v0dr8nznob9
Tags: 0.12-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# ************************************************************* -*- Makefile -*-
2
2
#
3
3
# File:      Makefile
4
 
# Version:   $Rev: 789 $
 
4
# Version:   $Rev: 984 $
5
5
# Author(s): Andreas Huggel (ahu) <ahuggel@gmx.net>
6
6
# History:   28-May-05, ahu: created
7
7
#
14
14
#  Only tested with GNU make.
15
15
#
16
16
 
17
 
TABLES = Exif Canon CanonCs1 CanonCs2 CanonCf Fujifilm Minolta MinoltaCsNew \
18
 
         MinoltaCs5D MinoltaCs7D Nikon1 Nikon2 Nikon3 Olympus Panasonic     \
19
 
         Sigma Sony
 
17
TABLES = Exif Canon CanonCs CanonSi CanonCf CanonPi CanonPa Fujifilm Minolta \
 
18
         MinoltaCsNew MinoltaCs5D MinoltaCs7D Nikon1 Nikon2 Nikon3 Olympus \
 
19
         Panasonic Sigma Sony
20
20
 
21
21
TAGLIST = ../../src/taglist
22
22
 
39
39
 
40
40
$(TABLES): $(TAGLIST)
41
41
        @echo Generating $@ table...
42
 
        @$(TAGLIST) $@ | awk -f tags.awk > $@.xml
 
42
        @$(TAGLIST) $@ | sed -e"s/</\&lt;/g" -e"s/>/\&gt;/g" | awk -f tags.awk > $@.xml
43
43
        @xsltproc tags.xsl $@.xml > $@.tmp
44
44
        @sed "s/report1/$@/" $@.tmp > __$@__
45
45
        @touch $@
47
47
 
48
48
Iptc: $(TAGLIST)
49
49
        @echo Generating $@ table...
50
 
        @$(TAGLIST) $@ | awk -f iptc.awk > $@.xml
 
50
        @$(TAGLIST) $@ | sed -e"s/</\&lt;/g" -e"s/>/\&gt;/g" -e"s/�/\&#177;/g" \
 
51
                       | awk -f iptc.awk > $@.xml
51
52
        @xsltproc iptc.xsl $@.xml > $@.tmp
52
53
        @sed "s/report1/$@/g" $@.tmp > __$@__
53
54
        @touch $@