~ubuntu-branches/ubuntu/wily/gcc-mingw-w64/wily

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Stephen Kitt
  • Date: 2014-01-02 08:21:16 UTC
  • Revision ID: package-import@ubuntu.com-20140102082116-erf28zxm6iiniqdd
Tags: 11
* Stop building gnat on armhf, it doesn't work currently.
* Stop installing the plugin development headers, they break the build
  on ia64 and aren't used anywhere.
* Standards-Version 3.9.5, no change required.

Show diffs side-by-side

added added

removed removed

Lines of Context:
264
264
        dh_installman -a
265
265
        dh_installchangelogs -a $(upstream_dir)/ChangeLog
266
266
        # Strip the binaries
 
267
ifneq (,$(findstring ada,$(languages)))
267
268
        dh_strip -a -Xw64-mingw32/lib -Xw64-mingw32/$(base_version)/lib -Xw64-mingw32/$(base_version)/adalib
 
269
else
 
270
        dh_strip -a -Xw64-mingw32/lib -Xw64-mingw32/$(base_version)/lib
 
271
endif
268
272
        # Strip the libraries
269
273
ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
270
274
        find $(top_dir)/debian -type f -name liblto_plugin.so.\*.\*.\* | xargs strip --remove-section=.comment --remove-section=.note --strip-unneeded
277
281
        dh_compress -a
278
282
        dh_fixperms -a
279
283
        # Fix permissions further
 
284
ifneq (,$(findstring ada,$(languages)))
280
285
        # *.ali files must be read-only
281
286
        find $(top_dir)/debian -name \*.ali | xargs -r chmod 444
 
287
endif
282
288
        # *.dll files shouldn't be executable
283
289
        find $(top_dir)/debian -name \*.dll | xargs -r chmod 644
284
290
        dh_installdeb -a