DEB knetworkmanager8: Disable build with --enable-final.

Cleanup rules.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/19/head
Slávek Banko 6 years ago
parent 5c8ccdde9b
commit 9e8d2b34f3
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -1,5 +1,8 @@
#!/usr/bin/make -f #!/usr/bin/make -f
# Currently is not possible to build piklab with --enable-final
DEB_BUILD_OPTIONS += noopt
include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/debian-tde.mk include debian/cdbs/debian-tde.mk
@ -17,39 +20,8 @@ DEB_CONFIGURE_EXTRA_FLAGS := --with-openvpn --with-vpnc --with-pptp
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)
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
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
make -f admin/Makefile.common cvs
touch debian/stamp-bootstrap
binary-install/network-manager-kde-trinity:: binary-install/network-manager-kde-trinity::
# Install autostart file # Install autostart file
install -D -m 644 knetworkmanager-0.8/src/knetworkmanager.desktop \ install -D -m 644 knetworkmanager-0.8/src/knetworkmanager.desktop \
debian/network-manager-kde-trinity/opt/trinity/share/autostart/knetworkmanager-trinity.desktop debian/network-manager-kde-trinity/opt/trinity/share/autostart/knetworkmanager-trinity.desktop
mv debian/network-manager-kde-trinity/usr/share/man debian/network-manager-kde-trinity/opt/trinity/share/ mv debian/network-manager-kde-trinity/usr/share/man debian/network-manager-kde-trinity/opt/trinity/share/
clean::
find . -name Makefile.in | xargs rm -f
rm -f aclocal.m4
rm -f acinclude.m4
rm -f configure
rm -f configure.files
rm -f configure.in
rm -f config.h.in
rm -f stamp-h.in
rm -f subdirs
rm -f admin/ltmain.sh
rm -f admin/libtool.m4.in
rm -f debian/stamp-bootstrap

@ -1,5 +1,8 @@
#!/usr/bin/make -f #!/usr/bin/make -f
# Currently is not possible to build piklab with --enable-final
DEB_BUILD_OPTIONS += noopt
include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/debian-tde.mk include debian/cdbs/debian-tde.mk
@ -17,39 +20,8 @@ DEB_CONFIGURE_EXTRA_FLAGS := --with-openvpn --with-vpnc --with-pptp
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)
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
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
make -f admin/Makefile.common cvs
touch debian/stamp-bootstrap
binary-install/network-manager-kde-trinity:: binary-install/network-manager-kde-trinity::
# Install autostart file # Install autostart file
install -D -m 644 knetworkmanager-0.8/src/knetworkmanager.desktop \ install -D -m 644 knetworkmanager-0.8/src/knetworkmanager.desktop \
debian/network-manager-kde-trinity/opt/trinity/share/autostart/knetworkmanager-trinity.desktop debian/network-manager-kde-trinity/opt/trinity/share/autostart/knetworkmanager-trinity.desktop
mv debian/network-manager-kde-trinity/usr/share/man debian/network-manager-kde-trinity/opt/trinity/share/ mv debian/network-manager-kde-trinity/usr/share/man debian/network-manager-kde-trinity/opt/trinity/share/
clean::
find . -name Makefile.in | xargs rm -f
rm -f aclocal.m4
rm -f acinclude.m4
rm -f configure
rm -f configure.files
rm -f configure.in
rm -f config.h.in
rm -f stamp-h.in
rm -f subdirs
rm -f admin/ltmain.sh
rm -f admin/libtool.m4.in
rm -f debian/stamp-bootstrap

Loading…
Cancel
Save