Skip to content

Commit

Permalink
Revert "Bug 731013 - cross-compilation broken when building extract-s…
Browse files Browse the repository at this point in the history
…trings"

This reverts commit 651d9e9.

The commit broke 'make dist' - the extract-strings sources are no
longer included in the tarball.
  • Loading branch information
ricotz authored and Matthias Clasen committed Aug 15, 2014
1 parent e0f354f commit f4a29fb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion gtk/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -1566,7 +1566,7 @@ distclean-local:
if test $(srcdir) != .; then \
rm -f $(MAINTAINERCLEANFILES); \
rm -rf stock-icons; \
rm -f extract-strings$(BUILD_EXEEXT); \
rm -f extract-strings$(EXEEXT); \
rm -f $(template_headers); \
fi

Expand Down
2 changes: 1 addition & 1 deletion gtk/inspector/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ templates = \

template_headers = $(templates:.ui=.ui.h)

extract_strings = $(top_builddir)/util/extract-strings$(BUILD_EXEEXT)
extract_strings = $(top_builddir)/util/extract-strings

%.ui.h : %.ui
$(AM_V_GEN) $(extract_strings) $< > $@
Expand Down
6 changes: 3 additions & 3 deletions util/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ extract_strings_cppflags =
extract_strings_cflags = $(GLIB_CFLAGS_FOR_BUILD)
extract_strings_ldadd = $(GLIB_LIBS_FOR_BUILD)

extract-strings$(BUILD_EXEEXT): $(extract_strings_sources)
@rm -f extract-strings$(BUILD_EXEEXT)
extract-strings$(EXEEXT): $(extract_strings_sources)
@rm -f extract-strings
$(AM_V_CCLD)$(CC_FOR_BUILD) $(extract_strings_cppflags) $(CPPFLAGS_FOR_BUILD) $(extract_strings_cflags) $(CFLAGS_FOR_BUILD) $^ $(LDFLAGS_FOR_BUILD) $(extract_strings_ldadd) $(LIBS_FOR_BUILD) -o $@

all-local: extract-strings$(BUILD_EXEEXT)
noinst_PROGRAMS = extract-strings

-include $(top_srcdir)/git.mk

0 comments on commit f4a29fb

Please sign in to comment.