From 8a6f017c5ed829890d5b83a48e70c49539f9bb1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sat, 2 Aug 2014 08:45:16 +0200 Subject: Initial import of xbase64 version 3.1.2-2 --- debian/rules | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100755 debian/rules (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..7b37c2f --- /dev/null +++ b/debian/rules @@ -0,0 +1,78 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +configure-stamp: + dh_testdir + dh_autoreconf + ./configure --prefix=/usr \ + --mandir=\$${prefix}/share/man \ + --enable-static \ + $(shell dpkg-buildflags --export=cmdline) + touch $@ + +build-arch: build +build-indep: build +build: build-stamp +build-stamp: configure-stamp + dh_testdir + $(MAKE) + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f *-stamp + + # Add here commands to clean up after the build process. + [ ! -f Makefile ] || [ ! -f config.status ] || $(MAKE) distclean + find . -name '*.o' -o -name '_libs' -o -name '*.lo' -o -name '*.a' -o -name '.deps' | xargs rm -rf + # remove unused configure stuff + rm -f config.log config.cache config.status + dh_autoreconf_clean + dh_clean + +install: install-stamp +install-stamp: build + dh_testdir + dh_testroot + dh_clean + + $(MAKE) prefix=$(CURDIR)/debian/tmp/usr \ + mandir=$(CURDIR)/debian/tmp/usr/share/man install + touch install-stamp + + +# Build architecture-independent files here. +binary-indep: +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir -a + dh_testroot -a + dh_install -a + dh_installdocs -a + dh_installchangelogs -a ChangeLog + dh_installexamples -a + chmod -x debian/libxbase64-dev/usr/share/doc/libxbase64-dev/examples/*.cpp + dh_strip -a + dh_compress -a -X.cpp + dh_fixperms -a + dh_makeshlibs -a + dh_shlibdeps -a + dh_installdeb -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install -- cgit v1.2.3