2019-07-23 13:09:26 +03:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
# debian/rules for alien
|
|
|
|
|
|
|
|
PACKAGE=$(shell dh_listpackages)
|
|
|
|
|
|
|
|
build:
|
|
|
|
dh_testdir
|
|
|
|
|
|
|
|
clean:
|
|
|
|
dh_testdir
|
|
|
|
dh_testroot
|
|
|
|
dh_clean -d
|
|
|
|
|
|
|
|
binary-indep: build
|
|
|
|
|
|
|
|
binary-arch: build
|
|
|
|
dh_testdir
|
|
|
|
dh_testroot
|
|
|
|
dh_prep
|
|
|
|
dh_installdirs
|
2019-07-23 16:25:28 +03:00
|
|
|
dh_install
|
2019-07-23 13:09:26 +03:00
|
|
|
dh_installdocs
|
|
|
|
dh_installchangelogs
|
|
|
|
# Copy the packages's files.
|
2019-07-23 16:25:28 +03:00
|
|
|
# find . -maxdepth 1 -mindepth 1 -not -name debian -print0 | \
|
|
|
|
# xargs -0 -r -i cp -a {} debian/$(PACKAGE)
|
2019-07-23 13:09:26 +03:00
|
|
|
|
|
|
|
#
|
|
|
|
# If you need to move files around in debian/$(PACKAGE) or do some
|
|
|
|
# binary patching, do it here
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
# This has been known to break on some wacky binaries.
|
|
|
|
# dh_strip
|
|
|
|
dh_compress
|
|
|
|
# dh_fixperms
|
|
|
|
dh_makeshlibs
|
|
|
|
dh_installdeb
|
|
|
|
-dh_shlibdeps
|
|
|
|
dh_gencontrol
|
|
|
|
dh_md5sums
|
2019-07-23 16:25:28 +03:00
|
|
|
# dh_link
|
2019-07-23 13:09:26 +03:00
|
|
|
dh_builddeb
|
|
|
|
|
|
|
|
binary: binary-indep binary-arch
|
|
|
|
.PHONY: build clean binary-indep binary-arch binary
|