diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-12-03 09:38:52 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-12-03 09:39:57 -0800 |
commit | 8f224c17373c8714ffeb13127a4e266a47990a16 (patch) | |
tree | 1d4f3927841b021929f9fc2ffb6402b5faaa015c /packaging/ubuntu/rules | |
parent | 89c333e4b6cbfaaaccabcf5bf967d49036680fbe (diff) | |
download | subsurface-8f224c17373c8714ffeb13127a4e266a47990a16.tar.gz |
Ubuntu packaging: move support files into debian directory
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'packaging/ubuntu/rules')
-rwxr-xr-x | packaging/ubuntu/rules | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/packaging/ubuntu/rules b/packaging/ubuntu/rules deleted file mode 100755 index 76ac5b98a..000000000 --- a/packaging/ubuntu/rules +++ /dev/null @@ -1,37 +0,0 @@ -#!/usr/bin/make -f -# -*- makefile -*- - -# Uncomment this to turn on verbose mode. -export DH_VERBOSE=1 - - -%: - dh $@ - -override_dh_auto_clean: - (cd libdivecomputer ; make clean || true) - make clean || true - rm -rf libgit2/build - rm -rf marble-build - rm -f ssrf-version.h - rm -f subsurface - rm -f Makefile - -override_dh_auto_configure: - (cd libdivecomputer ; autoreconf --install ; ./configure ; make -j8 ) - (mkdir libgit2/build ; cd libgit2/build ; cmake -DBUILD_SHARED_LIBS=OFF .. ; sed -i 's/.so$/.a/' CMakeCache.txt ; make -j8 ) - (mkdir marble-build ; cd marble-build ; \ - cmake -DQTONLY=ON -DBUILD_MARBLE_APPS=OFF -DBUILD_MARBLE_EXAMPLES=OFF -DBUILD_MARBLE_TESTS=OFF -DBUILD_MARBLE_TOOLS=OFF -DBUILD_SHARED_LIBS=OFF -DBUILD_TESTING=OFF -DWITH_DESIGNER_PLUGIN=OFF -DBUILD_WITH_DBUS=OFF ../marble-source ; \ - make -j8 ; \ - mkdir include ; cd include ; for i in `find ../../marble-source -name \*.h` ; do ln -s $$i . ; echo ln -s $$i . ; done ; \ - ln -s . marble ) - qmake LIBDCDEVEL=./libdivecomputer LIBGIT2DEVEL=./libgit2 LIBGIT2STATIC=1 LIBMARBLEDEVEL=./marble-build LIBMARBLESTATIC=1 subsurface.pro - -override_dh_installchangelogs: - dh_installchangelogs - dh_installchangelogs ReleaseNotes.txt - txt2html Documentation/user-manual.txt > Documentation/user-manual.html - mkdir -p debian/subsurface/usr/share/doc/subsurface - cp Documentation/user-manual.txt debian/subsurface/usr/share/doc/subsurface/ - cp Documentation/user-manual.html debian/subsurface/usr/share/doc/subsurface/html - |