mirror of
https://github.com/troglobit/editline.git
synced 2025-09-16 16:58:09 +08:00
debian/: Simplify rules file, greatly, add multi-arch support
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
57
debian/rules
vendored
57
debian/rules
vendored
@@ -1,59 +1,8 @@
|
||||
#!/usr/bin/make -f
|
||||
# debian/rules for libeditline
|
||||
# GNU copyright 1997 to 1999 by Joey Hess.
|
||||
#!/usr/bin/make -f
|
||||
|
||||
# Uncomment this to turn on verbose mode.
|
||||
#export DH_VERBOSE=1
|
||||
|
||||
# shared library versions, option 1
|
||||
version=0.0.0
|
||||
major=0
|
||||
%:
|
||||
dh $@ --with autoreconf
|
||||
|
||||
configure: configure-stamp
|
||||
configure-stamp:
|
||||
dh_testdir
|
||||
dh_auto_configure
|
||||
touch configure-stamp
|
||||
|
||||
build: build-stamp
|
||||
build-stamp:
|
||||
dh_testdir
|
||||
dh_auto_configure
|
||||
dh_auto_build
|
||||
touch $@
|
||||
|
||||
clean:
|
||||
dh_testdir
|
||||
dh_auto_clean
|
||||
dh_clean
|
||||
@rm -f build-stamp configure-stamp
|
||||
|
||||
install: build
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_clean -k
|
||||
dh_installdirs
|
||||
dh_auto_install
|
||||
|
||||
binary-indep: install
|
||||
|
||||
# build libeditline${major} package by moving files from editline-dev
|
||||
binary-arch: install
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_auto_install
|
||||
dh_install --sourcedir=debian/tmp
|
||||
dh_installdocs
|
||||
dh_installchangelogs
|
||||
dh_strip
|
||||
dh_compress
|
||||
dh_fixperms
|
||||
dh_makeshlibs
|
||||
dh_installdeb
|
||||
dh_shlibdeps
|
||||
dh_gencontrol
|
||||
dh_md5sums
|
||||
dh_builddeb
|
||||
|
||||
binary: binary-indep binary-arch
|
||||
.PHONY: build clean binary-indep binary-arch binary install
|
||||
|
Reference in New Issue
Block a user