diff options
author | Ken Moore <moorekou@gmail.com> | 2016-03-02 10:08:06 -0500 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2016-03-02 10:08:06 -0500 |
commit | cf362d373af3b9caf702bd9d8b963b02061e3cbd (patch) | |
tree | 3161c6742e25168e1bada2c6067547ee882fcb8d /debian/rules | |
parent | Remove the "Terminal" and "StartupNotify" entries within the lumina-supprot.d... (diff) | |
parent | bump debian/changelog (diff) | |
download | lumina-cf362d373af3b9caf702bd9d8b963b02061e3cbd.tar.gz lumina-cf362d373af3b9caf702bd9d8b963b02061e3cbd.tar.bz2 lumina-cf362d373af3b9caf702bd9d8b963b02061e3cbd.zip |
Merge pull request #196 from Nanolx/master
Update Debian packaging scripts
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 40 |
1 files changed, 8 insertions, 32 deletions
diff --git a/debian/rules b/debian/rules index b8460671..3df8ba9f 100755 --- a/debian/rules +++ b/debian/rules @@ -6,32 +6,18 @@ include /usr/share/dpkg/default.mk export DEB_BUILD_MAINT_OPTIONS = hardening=+all -QMAKE = /usr/lib/$(DEB_HOST_MULTIARCH)/qt5/bin/qmake - -USER_QMAKE_FLAGS = \ - PREFIX=/usr \ - LIBPREFIX=/usr/lib/$(DEB_HOST_MULTIARCH) \ - QT5LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)/qt5 \ - QMAKE_CXXFLAGS="$(CXXFLAGS) $(CPPFLAGS)" \ - QMAKE_LFLAGS="$(LDFLAGS) -Wl,--as-needed" - -QMAKE_EXTRA_DIRS = libLumina \ - lumina-config \ - lumina-desktop \ - lumina-fm \ - lumina-open \ - lumina-screenshot \ - lumina-search \ - lumina-info \ - lumina-xconfig \ - lumina-fileinfo - %: dh $@ --parallel override_dh_auto_configure: - $(QMAKE) $(USER_QMAKE_FLAGS) - for d in $(QMAKE_EXTRA_DIRS) ; do (cd $$d && $(QMAKE) $(USER_QMAKE_FLAGS)); done + /usr/lib/$(DEB_HOST_MULTIARCH)/qt5/bin/qmake \ + PREFIX=/usr \ + LIBPREFIX=/usr/lib/$(DEB_HOST_MULTIARCH) \ + L_LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH) \ + L_ETCDIR=/etc \ + QMAKE_CXXFLAGS="$(CXXFLAGS) $(CPPFLAGS)" \ + QMAKE_LFLAGS="$(LDFLAGS) -Wl,--as-needed" \ + CONFIG+=nostrip override_dh_auto_clean: dh_auto_clean @@ -43,13 +29,3 @@ override_dh_install: $(CURDIR)/debian/lumina-desktop/usr/bin/Lumina-DE.real install -m755 $(CURDIR)/debian/Lumina-DE \ $(CURDIR)/debian/lumina-desktop/usr/bin/Lumina-DE - # make install / dh_auto_install will automatically strip the library. - # This is a work-around to preserve the debug symbols for the debug package. - install -m755 -d $(CURDIR)/debian/libluminautils1/usr/lib/$(DEB_HOST_MULTIARCH) - install -m644 libLumina/libLuminaUtils.so.1.0.0 \ - $(CURDIR)/debian/libluminautils1/usr/lib/$(DEB_HOST_MULTIARCH) - -override_dh_strip: - dh_strip -plibluminautils1 --dbg-package=libluminautils-dbg - dh_strip --remaining-packages - |