Commit d5ed804c authored by Stepan Kasal's avatar Stepan Kasal

fix the declaration of generated sources and the po-functions/POTFILES problem

parent d1213fbf
......@@ -3,39 +3,43 @@ INCLUDES = \
-I$(top_srcdir) \
$(GNUMERIC_CFLAGS)
if WITH_BONOBO
if WITH_CORBA
noinst_LIBRARIES = libGnumericIDL.a
endif
GNUMERIC_GENERATED = \
GNUMERIC_GENERATED = \
GNOME_Gnumeric-common.c \
GNOME_Gnumeric-skels.c \
GNOME_Gnumeric-stubs.c \
GNOME_Gnumeric.h
# A hint is needed to build the header(s) first:
BUILT_SOURCES = GNOME_Gnumeric.h
if ENABLE_EVOLUTION
EVOLUTION_GENERATED = \
EVOLUTION_GENERATED = \
Evolution-Composer.h \
Evolution-Composer-common.c \
Evolution-Composer-skels.c \
Evolution-Composer-stubs.c
BUILT_SOURCES += Evolution-Composer.h
endif
libGnumericIDL_a_SOURCES = \
nodist_libGnumericIDL_a_SOURCES = \
$(GNUMERIC_GENERATED) \
$(EVOLUTION_GENERATED)
stamp_Gnumeric_idl : $(srcdir)/GNOME_Gnumeric.idl
stamp_Gnumeric_idl: $(srcdir)/GNOME_Gnumeric.idl
$(ORBIT_IDL) -I$(srcdir) $< && touch $@
$(GNUMERIC_GENERATED): stamp_Gnumeric_idl
if ENABLE_EVOLUTION
EVOLUTION_IDL_DIR = $(shell $(GNOME_CONFIG) --datadir)/idl
stamp_evolution_idl :
stamp_evolution_idl:
$(ORBIT_IDL) `$(EVOLUTION_IDL_DIR)/idl/Evolution-Composer.idl && touch $@
$(EVOLUTION_GENERATED) : stamp_evolution_idl
$(EVOLUTION_GENERATED): stamp_evolution_idl
endif
......@@ -43,11 +47,17 @@ idldir = $(gnumeric_datadir)/idl
idl_DATA = GNOME_Gnumeric.idl
EXTRA_DIST = $(idl_DATA)
# Do not use built sources BUILT_SOURCES
# it attempts to build the source even if it is not used.
CLEANFILES = $(GNUMERIC_GENERATED) \
$(EVOLUTION_GENERATED) \
CLEANFILES = $(nodist_libGnumericIDL_a_SOURCES) \
stamp_Gnumeric_idl stamp_evolution_idl
dist-hook :
cd $(distdir) && rm -f $(CLEANFILES)
1.
Frantiek Listopad
Bh belh klopt
z komory do kuchyn
va bramboraku
oplchne starou lci
sedne si u okna
dv si udiven
To jsem to dopracoval
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment