parent
ce71099485
commit
7172f47cba
@ -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
|
||||
|
||||
DEB_PATCHDIRS := debian/patches/common debian/patches
|
||||
#!/usr/bin/make -f
|
||||
|
||||
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/utils.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))
|
||||
include debian/cdbs/debian-qt-kde.mk
|
||||
|
||||
DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
|
||||
&& echo xz || echo bzip2)
|
||||
|
||||
DEB_INSTALL_DOCS_ALL :=
|
||||
|
||||
DOC_LANGS = da de et fr it nl pl pt ru sv pt_BR
|
||||
|
||||
post-patches:: debian/stamp-bootstrap
|
||||
|
||||
debian/stamp-bootstrap:
|
||||
dh_testdir
|
||||
|
||||
# Regenerate build system
|
||||
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
|
||||
DEB_CMAKE_EXTRA_FLAGS := \
|
||||
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
|
||||
-DCONFIG_INSTALL_DIR="/etc/trinity" \
|
||||
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
|
||||
-DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
-DCMAKE_VERBOSE_MAKEFILE="ON" \
|
||||
-DCMAKE_SKIP_RPATH="OFF" \
|
||||
-DBUILD_ALL="ON" \
|
||||
-DWITH_ALL_OPTIONS="ON"
|
||||
|
@ -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
|
||||
|
||||
DEB_PATCHDIRS := debian/patches/common debian/patches
|
||||
#!/usr/bin/make -f
|
||||
|
||||
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/utils.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))
|
||||
include debian/cdbs/debian-qt-kde.mk
|
||||
|
||||
DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
|
||||
&& echo xz || echo bzip2)
|
||||
|
||||
DEB_INSTALL_DOCS_ALL :=
|
||||
|
||||
DOC_LANGS = da de et fr it nl pl pt ru sv pt_BR
|
||||
|
||||
post-patches:: debian/stamp-bootstrap
|
||||
|
||||
debian/stamp-bootstrap:
|
||||
dh_testdir
|
||||
|
||||
# Regenerate build system
|
||||
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
|
||||
DEB_CMAKE_EXTRA_FLAGS := \
|
||||
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
|
||||
-DCONFIG_INSTALL_DIR="/etc/trinity" \
|
||||
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
|
||||
-DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
-DCMAKE_VERBOSE_MAKEFILE="ON" \
|
||||
-DCMAKE_SKIP_RPATH="OFF" \
|
||||
-DBUILD_ALL="ON" \
|
||||
-DWITH_ALL_OPTIONS="ON"
|
||||
|
@ -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
|
||||
|
||||
DEB_PATCHDIRS := debian/patches/common debian/patches
|
||||
#!/usr/bin/make -f
|
||||
|
||||
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/utils.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))
|
||||
include debian/cdbs/debian-qt-kde.mk
|
||||
|
||||
DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
|
||||
&& echo xz || echo bzip2)
|
||||
|
||||
DEB_INSTALL_DOCS_ALL :=
|
||||
|
||||
DOC_LANGS = da de et fr it nl pl pt ru sv pt_BR
|
||||
|
||||
post-patches:: debian/stamp-bootstrap
|
||||
|
||||
debian/stamp-bootstrap:
|
||||
dh_testdir
|
||||
|
||||
# Regenerate build system
|
||||
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
|
||||
DEB_CMAKE_EXTRA_FLAGS := \
|
||||
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
|
||||
-DCONFIG_INSTALL_DIR="/etc/trinity" \
|
||||
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
|
||||
-DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
-DCMAKE_VERBOSE_MAKEFILE="ON" \
|
||||
-DCMAKE_SKIP_RPATH="OFF" \
|
||||
-DBUILD_ALL="ON" \
|
||||
-DWITH_ALL_OPTIONS="ON"
|
||||
|
Loading…
Reference in new issue