Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/make -f
- # -*- makefile -*-
- # Sample debian/rules that uses debhelper.
- # This file was originally written by Joey Hess and Craig Small.
- # As a special exception, when this file is copied by dh-make into a
- # dh-make output file, you may use that output file without restriction.
- # This special exception was added by Craig Small in version 0.37 of dh-make.
- # Uncomment this to turn on verbose mode.
- #export DH_VERBOSE=1
- #%:
- # dh $@
- confflags := \
- --prefix=/usr \
- --libdir=$(libdir) \
- --mandir=\$${prefix}/share/man \
- --with-apr=/usr/bin/apr-config \
- --with-apr-util=/usr/bin/apu-config \
- --with-berkeley-db=db.h:/usr/include:/usr/lib/x86_64-linux-gnu:db \
- --with-gnome-keyring \
- --with-openssl
- .PRONY: build binary clean binary-arch binary-indep
- build:
- dh_testdir
- ./autogen.sh
- dh_auto_configure -- $(confflags)
- dh_auto_build
- dh_auto_test
- binary-arch:
- dh_testdir
- dh_testroot
- dh_link -s
- dh_installdocs -s
- dh_installexamples -s
- dh_installchangelogs -s CHANGES
- dh_lintian -s
- dh_fixperms -s
- dh_strip -s
- dh_compress -s
- # dh_makeshlibs (1) creates shlibs/symbols files and (2) generates
- # calls to 'ldconfig' in postinst/postrm. We want (1) only for
- # libsvn1, but (2) for the swig packages too.
- dh_makeshlibs -s -Xjava -X_auth_ -X_ra_local -X_fs_
- dh_perl -s
- dh_python2 -s
- dh_installdeb -s
- dh_shlibdeps -s -X_auth_
- dh_gencontrol -s
- dh_md5sums -s
- dh_builddeb -s
- binary-indep:
- dh_testdir
- dh_testroot
- dh_link -i
- dh_installdocs -i
- dh_installexamples -i
- dh_installman -i
- dh_installchangelogs -i CHANGES
- dh_lintian -i
- dh_compress -i
- dh_fixperms -i
- dh_perl -i
- dh_installdeb -i
- dh_gencontrol -i
- dh_md5sums -i
- dh_builddeb -i
- binary: binary-arch binary-indep
- clean:
- dh_testdir
- dh_auto_clean
- dh_clean
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement