~ubuntu-branches/ubuntu/hoary/gimp/hoary

« back to all changes in this revision

Viewing changes to plug-ins/gfig/images/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2005-04-04 14:51:23 UTC
  • Revision ID: james.westby@ubuntu.com-20050404145123-9py049eeelfymur8
Tags: upstream-2.2.2
ImportĀ upstreamĀ versionĀ 2.2.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
## Process this file with automake to produce Makefile.in
 
2
 
 
3
STOCK_IMAGES = \
 
4
        stock-bezier.png        \
 
5
        stock-circle.png        \
 
6
        stock-copy-object.png   \
 
7
        stock-curve.png         \
 
8
        stock-delete-object.png \
 
9
        stock-ellipse.png       \
 
10
        stock-line.png          \
 
11
        stock-move-object.png   \
 
12
        stock-move-point.png    \
 
13
        stock-polygon.png       \
 
14
        stock-select-object.png \
 
15
        stock-show-all.png      \
 
16
        stock-spiral.png        \
 
17
        stock-star.png          \
 
18
        stock-logo.png
 
19
 
 
20
EXTRA_DIST = $(STOCK_IMAGES)
 
21
 
 
22
noinst_DATA = gfig-stock-pixbufs.h
 
23
CLEANFILES = $(noinst_DATA) stock-icons.list
 
24
 
 
25
stock-icons.list: $(STOCK_IMAGES) Makefile.am
 
26
        ( rm -f $@; \
 
27
          for image in $(STOCK_IMAGES); do \
 
28
            echo $$image | \
 
29
              sed -e 's|.*/||' -e 's|-|_|g' -e 's|\.png$$||' >> $@; \
 
30
            echo "  $(srcdir)/$$image" >> $@; \
 
31
          done )
 
32
 
 
33
$(srcdir)/gfig-stock-pixbufs.h: stock-icons.list
 
34
        gdk-pixbuf-csource --raw --build-list `cat stock-icons.list` > $(@F)