~ubuntu-branches/ubuntu/vivid/psi-plus/vivid

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Boris Pek
  • Date: 2012-06-22 00:00:09 UTC
  • mfrom: (1.4.4)
  • Revision ID: package-import@ubuntu.com-20120622000009-9ur1mi189ulab5af
Tags: 0.15.5338-1
* New upstream release.
* debian/copyright was updated: updated years.
* Used hardening flags in compiler options:
  - added file debian/patches/add-hardening-flags-in-compiler-options
  - updated debian/rules

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
        NUMJOBS = 1
9
9
endif
10
10
 
 
11
Q_CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
 
12
Q_CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) $(Q_CPPFLAGS)
 
13
Q_CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) $(Q_CPPFLAGS)
 
14
Q_LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) -Wl,--as-needed
 
15
export Q_CPPFLAGS Q_CFLAGS Q_CXXFLAGS Q_LDFLAGS
 
16
 
 
17
Q_OPTS = "QMAKE_CXXFLAGS += $(Q_CXXFLAGS)" \
 
18
         "QMAKE_CFLAGS_DEBUG += $(Q_CFLAGS)" \
 
19
         "QMAKE_CFLAGS_RELEASE += $(Q_CFLAGS)" \
 
20
         "QMAKE_LFLAGS += $(Q_LDFLAGS)"
 
21
 
11
22
PACKAGE = psi-plus
12
23
DEVELOPER = tehnick
13
24
PROJECT = psi-plus
31
42
 
32
43
override_dh_auto_build:
33
44
        $(MAKE) -j$(NUMJOBS)
34
 
        $(foreach plug,$(plugins_generic), cd $(CURDIR)/src/plugins/generic/$(plug) && $(QMAKE) && $(MAKE) -j$(NUMJOBS); )
35
 
        $(foreach plug,$(plugins_unix), cd $(CURDIR)/src/plugins/unix/$(plug) && $(QMAKE) && $(MAKE) -j$(NUMJOBS); )
 
45
        $(foreach plug,$(plugins_generic), cd $(CURDIR)/src/plugins/generic/$(plug) && $(QMAKE) $(Q_OPTS) && $(MAKE) -j$(NUMJOBS); )
 
46
        $(foreach plug,$(plugins_unix), cd $(CURDIR)/src/plugins/unix/$(plug) && $(QMAKE) $(Q_OPTS) && $(MAKE) -j$(NUMJOBS); )
36
47
 
37
48
override_dh_auto_install:
38
49
        $(MAKE) INSTALL_ROOT=$(CURDIR)/debian/psi-plus install
59
70
        ./debian/mergedups.sh
60
71
        # Deleting extra copy of sound files
61
72
        rm -rf $(CURDIR)/debian/psi-plus-common/usr/share/psi-plus/sound/
62
 
        # Fixing permissions (temporary; it will be fixed in upstream)
63
 
        [ ! -d $(CURDIR)/debian/psi-plus-skins/ ] || chmod uog-x $(CURDIR)/debian/psi-plus-skins/usr/share/psi-plus/skins/mac/native_mac/images/qcombobox.png
64
 
 
65
73
 
66
74
override_dh_auto_clean:
67
75
        dh_clean