~ubuntu-branches/ubuntu/wily/octave/wily-proposed

« back to all changes in this revision

Viewing changes to .pc/drop_versioned_binaries.diff/src/Makefile.am

  • Committer: Package Import Robot
  • Author(s): Sébastien Villemot
  • Date: 2014-03-10 17:32:29 UTC
  • mfrom: (1.2.6)
  • Revision ID: package-import@ubuntu.com-20140310173229-000oj77i9m6tjpvd
Tags: 3.8.1-1
* Imported Upstream version 3.8.1
  + libgui/src/main-window.cc: Fix problems with gui startup and focus issues
    (Closes: #738672)
  + scripts/pkg/private/fix_depends.m: Fix installing packages where
    dependency name contains '-' (Closes: #740984)
* debian/copyright: reflect upstream changes.
* octave.postinst: remove workaround for #681064 (package dir re-creation).
  (Closes: #681461)
* Remove patches applied upstream:
  + doc-compressed-info.diff
  + kfreebsd_tcgetattr.diff
  + octave-cli-manpage.diff
  + save-uint8-in-text-format.diff
* mkoctfile is now an executable binary instead of a shell script.
  + mkoctfile-mpi.diff: adapt for new format of mkoctfile.
  + d/control: add shlibs:Depends to liboctave-dev.
* Fix statement about the GUI in NEWS.Debian.
* debian/control: don't mention the FAQ in descriptions, it has been removed.
* Adapt to the fact that JIT is now disabled by default in ./configure script.
* Disable JIT on hurd-i386, LLVM not available there.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
EXTRA_DIST = \
39
39
  main.in.cc \
40
40
  mkoctfile.in.cc \
41
 
  mkoctfile.in.sh \
42
 
  octave-config.in.cc \
43
 
  octave-config.in.sh
 
41
  octave-config.in.cc
44
42
 
45
43
DISTCLEANFILES = \
46
 
  main.cc
 
44
  main.cc \
 
45
  mkoctfile.cc \
 
46
  octave-config.cc
47
47
 
48
 
OCTAVE_BINARIES = \
 
48
bin_PROGRAMS = \
 
49
  mkoctfile \
49
50
  octave \
50
 
  octave-cli
 
51
  octave-cli \
 
52
  octave-config
 
53
 
 
54
noinst_HEADERS = \
 
55
  shared-fcns.h
51
56
 
52
57
OCTAVE_VERSION_LINKS = octave-cli-$(version)$(EXEEXT)
53
58
 
85
90
octave_cli_SOURCES = main-cli.cc
86
91
 
87
92
octave_cli_LDADD = \
88
 
  $(OCTAVE_CORE_LIBS)
 
93
  $(OCTAVE_CORE_LIBS) \
89
94
  $(OCTAVE_LINK_DEPS)
90
95
 
91
96
octave_cli_LDFLAGS = \
111
116
  $(NO_UNDEFINED_LDFLAG) \
112
117
  $(OCTAVE_GUI_LINK_OPTS)
113
118
 
114
 
if AMCOND_BUILD_COMPILED_AUX_PROGRAMS
115
 
bin_PROGRAMS = \
116
 
  $(OCTAVE_BINARIES) \
117
 
  mkoctfile \
118
 
  octave-config
119
 
 
120
119
mkoctfile_SOURCES =
121
120
nodist_mkoctfile_SOURCES = mkoctfile.cc
122
121
mkoctfile_LDADD = $(top_builddir)/libgnu/libgnu.la $(LIBS)
128
127
  $(top_builddir)/libgnu/libgnu.la \
129
128
  $(LIBS)
130
129
 
131
 
DISTCLEANFILES += mkoctfile.cc octave-config.cc
132
 
 
133
 
else
134
 
bin_PROGRAMS = \
135
 
  $(OCTAVE_BINARIES)
136
 
 
137
 
bin_SCRIPTS = \
138
 
  mkoctfile \
139
 
  octave-config
140
 
endif
141
 
 
142
130
all-local: $(OCTAVE_VERSION_LINKS)
143
131
 
144
 
if AMCOND_BUILD_COMPILED_AUX_PROGRAMS
145
132
octave-config.cc: octave-config.in.cc Makefile
146
133
        @$(do_subst_default_vals)
147
134
 
148
135
mkoctfile.cc: mkoctfile.in.cc Makefile
149
136
        @$(do_subst_config_vals)
150
137
 
151
 
else
152
 
octave-config: octave-config.in.sh Makefile
153
 
        @$(do_subst_default_vals)
154
 
        chmod a+rx $@
155
 
 
156
 
mkoctfile: mkoctfile.in.sh Makefile
157
 
        @$(do_subst_config_vals)
158
 
        chmod a+rx $@
159
 
endif
160
 
 
161
138
## main.cc must depend on Makefile.  Calling configure may change
162
139
## default/config values.  However, calling configure will also 
163
140
## regenerate the Makefiles from Makefile.am and trigger the rules below.
174
151
          mv $$f$(EXEEXT) $$f-$(version)$(EXEEXT) && \
175
152
            $(LN_S) $$f-$(version)$(EXEEXT) $$f$(EXEEXT); \
176
153
        done
177
 
if ! AMCOND_BUILD_COMPILED_AUX_PROGRAMS
178
 
        cd $(DESTDIR)$(bindir) && \
179
 
        for f in $(basename $(bin_SCRIPTS)); do \
180
 
          mv $$f $$f-$(version) && \
181
 
            $(LN_S) $$f-$(version) $$f; \
182
 
        done
183
 
endif
184
154
 
185
155
remove-version-links:
186
156
        for f in $(basename $(bin_PROGRAMS)); do \
187
157
          rm -f $(DESTDIR)$(bindir)/$$f-$(version)$(EXEEXT); \
188
158
        done
189
 
if ! AMCOND_BUILD_COMPILED_AUX_PROGRAMS
190
 
        for f in $(basename $(bin_SCRIPTS)); do \
191
 
          rm -f $(DESTDIR)$(bindir)/$$f-$(version); \
192
 
        done
193
 
endif
194
159
 
195
160
.PHONY: make-version-links remove-version-links
196
161
 
206
171
        $(LN_S) $< $@
207
172
 
208
173
CLEANFILES = \
209
 
  $(bin_SCRIPTS) \
210
174
  $(OCTAVE_VERSION_LINKS)