Changeset 13518


Ignore:
Timestamp:
Sep 22, 2012, 10:36:05 PM (10 years ago)
Author:
jordan
Message:

fix BUILT_SOURCES and CLEANFILES for the transmission-resource files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/Makefile.am

    r13517 r13518  
     1BUILT_SOURCES =
     2CLEANFILES =
    13SUBDIRS = icons
    24
     
    111113
    112114transmission-resources.c: transmission.gresource.xml $(UI_FILES)
    113         glib-compile-resources --target=$@ --sourcedir=$(srcdir) \
     115        $(AM_V_GEN)glib-compile-resources --target=$@ --sourcedir=$(srcdir) \
    114116          --generate-source --c-name transmission $<
    115117
    116 transmission-resources.h: transmission.gresource.xml
    117         glib-compile-resources --target=$@ --sourcedir=$(srcdir) \
     118transmission-resources.h: transmission.gresource.xml $(UI_FILES)
     119        $(AM_V_GEN)glib-compile-resources --target=$@ --sourcedir=$(srcdir) \
    118120          --generate-header --c-name transmission $<
    119121
     122CLEANFILES += \
     123        transmission-resources.c \
     124        transmission-resources.h
     125BUILT_SOURCES += \
     126        transmission-resources.c \
     127        transmission-resources.h
     128
    120129EXTRA_DIST = \
    121     $(DESKTOP_IN_FILES) \
    122     $(UI_FILES) \
    123     transmission.gresource.xml \
    124     transmission.png
     130        $(DESKTOP_IN_FILES) \
     131        $(UI_FILES) \
     132        transmission.gresource.xml \
     133        transmission.png
    125134
    126135DISTCLEANFILES = \
    127     transmission-gtk.desktop
     136        transmission-gtk.desktop
    128137
    129138if WIN32
     
    132141        $(WINDRES) -J rc -i transmission.rc -O coff -o transmission.res
    133142
    134 BUILT_SOURCES = \
    135         setransmission.res \
    136         transmission-resources.c \
    137         transmission-resources.h
    138 
    139 CLEANFILES = \
    140         setransmission.res \
    141         transmission-resources.c \
    142         transmission-resources.h
    143 
    144 transmission_gtk_LDADD += \
    145         transmission.res
    146 
    147 transmission_gtk_LDFLAGS = \
    148         -mwindows
     143BUILT_SOURCES += transmission.res
     144CLEANFILES += transmission.res
     145transmission_gtk_LDADD += transmission.res
     146transmission_gtk_LDFLAGS = -mwindows
    149147
    150148endif
Note: See TracChangeset for help on using the changeset viewer.