mirror of
https://github.com/troglobit/editline.git
synced 2025-05-06 04:21:24 +08:00
debian/: Simplify rules file, greatly, add multi-arch support
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
parent
30e33b74fb
commit
dd0c1dc2a4
2
debian/compat
vendored
2
debian/compat
vendored
@ -1 +1 @@
|
|||||||
5
|
9
|
||||||
|
7
debian/libeditline-dev.install
vendored
7
debian/libeditline-dev.install
vendored
@ -1,4 +1,3 @@
|
|||||||
usr/include
|
usr/include/*.h
|
||||||
usr/lib/libeditline*.*a
|
usr/lib/*/libeditline*.*a
|
||||||
usr/lib/libeditline*.so
|
usr/share/man/man3/*
|
||||||
usr/share/man/man3
|
|
||||||
|
2
debian/libeditline0.install
vendored
2
debian/libeditline0.install
vendored
@ -1 +1 @@
|
|||||||
usr/lib/libeditline*.so.*
|
usr/lib/*/libeditline*.so*
|
||||||
|
57
debian/rules
vendored
57
debian/rules
vendored
@ -1,59 +1,8 @@
|
|||||||
#!/usr/bin/make -f
|
#!/usr/bin/make -f
|
||||||
# debian/rules for libeditline
|
|
||||||
# GNU copyright 1997 to 1999 by Joey Hess.
|
|
||||||
|
|
||||||
# Uncomment this to turn on verbose mode.
|
# Uncomment this to turn on verbose mode.
|
||||||
#export DH_VERBOSE=1
|
#export DH_VERBOSE=1
|
||||||
|
|
||||||
# shared library versions, option 1
|
%:
|
||||||
version=0.0.0
|
dh $@ --with autoreconf
|
||||||
major=0
|
|
||||||
|
|
||||||
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
|
|
||||||
|
Loading…
Reference in New Issue
Block a user