Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 7172f47cba
)
pull/92/head
parent
99ef414f22
commit
774c9f6955
@ -1,10 +0,0 @@
|
|||||||
export kde_prefix=/opt/trinity
|
|
||||||
export sysconfdir=/etc
|
|
||||||
export kde_includedir=/opt/trinity/include/tde
|
|
||||||
export infodir=/opt/trinity/share/info
|
|
||||||
export mandir=/opt/trinity/share/man
|
|
||||||
export qtdir=/opt/trinity/share/qt3
|
|
||||||
export kde_cgidir=/opt/trinity/lib/cgi-bin
|
|
||||||
export kde_confdir=/etc/trinity
|
|
||||||
export kde_htmldir=/opt/trinity/share/doc/tde/HTML
|
|
||||||
configkde=--disable-debug --disable-rpath --prefix=$(kde_prefix) --sysconfdir=$(sysconfdir) --includedir=$(kde_includedir) --infodir=$(infodir) --mandir=$(mandir) --with-qt-dir=$(qtdir)
|
|
@ -1,63 +1,20 @@
|
|||||||
#! /usr/bin/make -f
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
DEB_PATCHDIRS := debian/patches/common debian/patches
|
|
||||||
|
|
||||||
include /usr/share/cdbs/1/rules/debhelper.mk
|
include /usr/share/cdbs/1/rules/debhelper.mk
|
||||||
include debian/cdbs/kde.mk
|
include /usr/share/cdbs/1/class/cmake.mk
|
||||||
include /usr/share/cdbs/1/rules/patchsys-quilt.mk
|
include /usr/share/cdbs/1/rules/patchsys-quilt.mk
|
||||||
include /usr/share/cdbs/1/rules/utils.mk
|
include debian/cdbs/debian-qt-kde.mk
|
||||||
|
|
||||||
-include debian/debiandirs
|
|
||||||
|
|
||||||
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
|
|
||||||
DEB_PARALLEL_JOBS ?= $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
|
|
||||||
endif
|
|
||||||
DEB_MAKE_PARALLEL ?= $(and $(DEB_BUILD_PARALLEL),$(DEB_PARALLEL_JOBS),-j$(DEB_PARALLEL_JOBS))
|
|
||||||
|
|
||||||
DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
|
DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
|
||||||
&& echo xz || echo bzip2)
|
&& echo xz || echo bzip2)
|
||||||
|
|
||||||
DEB_INSTALL_DOCS_ALL :=
|
DEB_CMAKE_EXTRA_FLAGS := \
|
||||||
|
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
|
||||||
DOC_LANGS = da de et fr it nl pl pt ru sv pt_BR
|
-DCONFIG_INSTALL_DIR="/etc/trinity" \
|
||||||
|
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
|
||||||
post-patches:: debian/stamp-bootstrap
|
-DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
|
||||||
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||||
debian/stamp-bootstrap:
|
-DCMAKE_VERBOSE_MAKEFILE="ON" \
|
||||||
dh_testdir
|
-DCMAKE_SKIP_RPATH="OFF" \
|
||||||
|
-DBUILD_ALL="ON" \
|
||||||
# Regenerate build system
|
-DWITH_ALL_OPTIONS="ON"
|
||||||
ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
|
|
||||||
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
|
|
||||||
endif
|
|
||||||
ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
|
|
||||||
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
|
|
||||||
endif
|
|
||||||
ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
|
|
||||||
cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
|
|
||||||
endif
|
|
||||||
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
|
|
||||||
|
|
||||||
autoreconf && automake -f && \
|
|
||||||
$(MAKE) -f admin/Makefile.common && \
|
|
||||||
./configure $(configkde)
|
|
||||||
touch debian/stamp-bootstrap
|
|
||||||
|
|
||||||
build: debian/build-stamp
|
|
||||||
|
|
||||||
debian/build-stamp:
|
|
||||||
dh_testdir
|
|
||||||
$(MAKE) $(DEB_MAKE_PARALLEL)
|
|
||||||
touch debian/build-stamp
|
|
||||||
|
|
||||||
install/gwenview-i18n-trinity::
|
|
||||||
dh_testdir
|
|
||||||
dh_testroot
|
|
||||||
dh_clean -k
|
|
||||||
|
|
||||||
$(MAKE) install DESTDIR=$(CURDIR)/debian/gwenview-i18n-trinity $(DEB_MAKE_PARALLEL)
|
|
||||||
|
|
||||||
for LANG in $(DOC_LANGS); do \
|
|
||||||
cd $(CURDIR)/debian/gwenview-i18n-trinity/$(kde_htmldir)/$$LANG/gwenview; \
|
|
||||||
$(kde_prefix)/bin/meinproc $(DEB_DESTDIR)$(kde_htmldir)/$$LANG/gwenview/index.docbook; \
|
|
||||||
done
|
|
||||||
|
@ -1,10 +0,0 @@
|
|||||||
export kde_prefix=/opt/trinity
|
|
||||||
export sysconfdir=/etc
|
|
||||||
export kde_includedir=/opt/trinity/include/tde
|
|
||||||
export infodir=/opt/trinity/share/info
|
|
||||||
export mandir=/opt/trinity/share/man
|
|
||||||
export qtdir=/opt/trinity/share/qt3
|
|
||||||
export kde_cgidir=/opt/trinity/lib/cgi-bin
|
|
||||||
export kde_confdir=/etc/trinity
|
|
||||||
export kde_htmldir=/opt/trinity/share/doc/tde/HTML
|
|
||||||
configkde=--disable-debug --disable-rpath --prefix=$(kde_prefix) --sysconfdir=$(sysconfdir) --includedir=$(kde_includedir) --infodir=$(infodir) --mandir=$(mandir) --with-qt-dir=$(qtdir)
|
|
@ -1,63 +1,20 @@
|
|||||||
#! /usr/bin/make -f
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
DEB_PATCHDIRS := debian/patches/common debian/patches
|
|
||||||
|
|
||||||
include /usr/share/cdbs/1/rules/debhelper.mk
|
include /usr/share/cdbs/1/rules/debhelper.mk
|
||||||
include debian/cdbs/kde.mk
|
include /usr/share/cdbs/1/class/cmake.mk
|
||||||
#include /usr/share/cdbs/1/rules/patchsys-quilt.mk
|
#include /usr/share/cdbs/1/rules/patchsys-quilt.mk
|
||||||
include /usr/share/cdbs/1/rules/utils.mk
|
include debian/cdbs/debian-qt-kde.mk
|
||||||
|
|
||||||
-include debian/debiandirs
|
|
||||||
|
|
||||||
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
|
|
||||||
DEB_PARALLEL_JOBS ?= $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
|
|
||||||
endif
|
|
||||||
DEB_MAKE_PARALLEL ?= $(and $(DEB_BUILD_PARALLEL),$(DEB_PARALLEL_JOBS),-j$(DEB_PARALLEL_JOBS))
|
|
||||||
|
|
||||||
DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
|
DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
|
||||||
&& echo xz || echo bzip2)
|
&& echo xz || echo bzip2)
|
||||||
|
|
||||||
DEB_INSTALL_DOCS_ALL :=
|
DEB_CMAKE_EXTRA_FLAGS := \
|
||||||
|
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
|
||||||
DOC_LANGS = da de et fr it nl pl pt ru sv pt_BR
|
-DCONFIG_INSTALL_DIR="/etc/trinity" \
|
||||||
|
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
|
||||||
post-patches:: debian/stamp-bootstrap
|
-DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
|
||||||
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||||
debian/stamp-bootstrap:
|
-DCMAKE_VERBOSE_MAKEFILE="ON" \
|
||||||
dh_testdir
|
-DCMAKE_SKIP_RPATH="OFF" \
|
||||||
|
-DBUILD_ALL="ON" \
|
||||||
# Regenerate build system
|
-DWITH_ALL_OPTIONS="ON"
|
||||||
ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
|
|
||||||
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
|
|
||||||
endif
|
|
||||||
ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
|
|
||||||
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
|
|
||||||
endif
|
|
||||||
ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
|
|
||||||
cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
|
|
||||||
endif
|
|
||||||
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
|
|
||||||
|
|
||||||
autoreconf && automake -f && \
|
|
||||||
$(MAKE) -f admin/Makefile.common && \
|
|
||||||
./configure $(configkde)
|
|
||||||
touch debian/stamp-bootstrap
|
|
||||||
|
|
||||||
build: debian/build-stamp
|
|
||||||
|
|
||||||
debian/build-stamp:
|
|
||||||
dh_testdir
|
|
||||||
$(MAKE) $(DEB_MAKE_PARALLEL)
|
|
||||||
touch debian/build-stamp
|
|
||||||
|
|
||||||
install/gwenview-i18n-trinity::
|
|
||||||
dh_testdir
|
|
||||||
dh_testroot
|
|
||||||
dh_clean -k
|
|
||||||
|
|
||||||
$(MAKE) install DESTDIR=$(CURDIR)/debian/gwenview-i18n-trinity $(DEB_MAKE_PARALLEL)
|
|
||||||
|
|
||||||
for LANG in $(DOC_LANGS); do \
|
|
||||||
cd $(CURDIR)/debian/gwenview-i18n-trinity/$(kde_htmldir)/$$LANG/gwenview; \
|
|
||||||
$(kde_prefix)/bin/meinproc $(DEB_DESTDIR)$(kde_htmldir)/$$LANG/gwenview/index.docbook; \
|
|
||||||
done
|
|
||||||
|
@ -1,10 +0,0 @@
|
|||||||
export kde_prefix=/opt/trinity
|
|
||||||
export sysconfdir=/etc
|
|
||||||
export kde_includedir=/opt/trinity/include/tde
|
|
||||||
export infodir=/opt/trinity/share/info
|
|
||||||
export mandir=/opt/trinity/share/man
|
|
||||||
export qtdir=/opt/trinity/share/qt3
|
|
||||||
export kde_cgidir=/opt/trinity/lib/cgi-bin
|
|
||||||
export kde_confdir=/etc/trinity
|
|
||||||
export kde_htmldir=/opt/trinity/share/doc/tde/HTML
|
|
||||||
configkde=--disable-debug --disable-rpath --prefix=$(kde_prefix) --sysconfdir=$(sysconfdir) --includedir=$(kde_includedir) --infodir=$(infodir) --mandir=$(mandir) --with-qt-dir=$(qtdir)
|
|
@ -1,63 +1,20 @@
|
|||||||
#! /usr/bin/make -f
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
DEB_PATCHDIRS := debian/patches/common debian/patches
|
|
||||||
|
|
||||||
include /usr/share/cdbs/1/rules/debhelper.mk
|
include /usr/share/cdbs/1/rules/debhelper.mk
|
||||||
include debian/cdbs/kde.mk
|
include /usr/share/cdbs/1/class/cmake.mk
|
||||||
#include /usr/share/cdbs/1/rules/patchsys-quilt.mk
|
#include /usr/share/cdbs/1/rules/patchsys-quilt.mk
|
||||||
include /usr/share/cdbs/1/rules/utils.mk
|
include debian/cdbs/debian-qt-kde.mk
|
||||||
|
|
||||||
-include debian/debiandirs
|
|
||||||
|
|
||||||
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
|
|
||||||
DEB_PARALLEL_JOBS ?= $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
|
|
||||||
endif
|
|
||||||
DEB_MAKE_PARALLEL ?= $(and $(DEB_BUILD_PARALLEL),$(DEB_PARALLEL_JOBS),-j$(DEB_PARALLEL_JOBS))
|
|
||||||
|
|
||||||
DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
|
DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
|
||||||
&& echo xz || echo bzip2)
|
&& echo xz || echo bzip2)
|
||||||
|
|
||||||
DEB_INSTALL_DOCS_ALL :=
|
DEB_CMAKE_EXTRA_FLAGS := \
|
||||||
|
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
|
||||||
DOC_LANGS = da de et fr it nl pl pt ru sv pt_BR
|
-DCONFIG_INSTALL_DIR="/etc/trinity" \
|
||||||
|
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
|
||||||
post-patches:: debian/stamp-bootstrap
|
-DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
|
||||||
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||||
debian/stamp-bootstrap:
|
-DCMAKE_VERBOSE_MAKEFILE="ON" \
|
||||||
dh_testdir
|
-DCMAKE_SKIP_RPATH="OFF" \
|
||||||
|
-DBUILD_ALL="ON" \
|
||||||
# Regenerate build system
|
-DWITH_ALL_OPTIONS="ON"
|
||||||
ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
|
|
||||||
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
|
|
||||||
endif
|
|
||||||
ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
|
|
||||||
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
|
|
||||||
endif
|
|
||||||
ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
|
|
||||||
cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
|
|
||||||
endif
|
|
||||||
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
|
|
||||||
|
|
||||||
autoreconf && automake -f && \
|
|
||||||
$(MAKE) -f admin/Makefile.common && \
|
|
||||||
./configure $(configkde)
|
|
||||||
touch debian/stamp-bootstrap
|
|
||||||
|
|
||||||
build: debian/build-stamp
|
|
||||||
|
|
||||||
debian/build-stamp:
|
|
||||||
dh_testdir
|
|
||||||
$(MAKE) $(DEB_MAKE_PARALLEL)
|
|
||||||
touch debian/build-stamp
|
|
||||||
|
|
||||||
install/gwenview-i18n-trinity::
|
|
||||||
dh_testdir
|
|
||||||
dh_testroot
|
|
||||||
dh_clean -k
|
|
||||||
|
|
||||||
$(MAKE) install DESTDIR=$(CURDIR)/debian/gwenview-i18n-trinity $(DEB_MAKE_PARALLEL)
|
|
||||||
|
|
||||||
for LANG in $(DOC_LANGS); do \
|
|
||||||
cd $(CURDIR)/debian/gwenview-i18n-trinity/$(kde_htmldir)/$$LANG/gwenview; \
|
|
||||||
$(kde_prefix)/bin/meinproc $(DEB_DESTDIR)$(kde_htmldir)/$$LANG/gwenview/index.docbook; \
|
|
||||||
done
|
|
||||||
|
Loading…
Reference in new issue