magician/debian/rules

53 lines
1.1 KiB
Plaintext
Raw Permalink Normal View History

2017-05-23 16:21:35 +02:00
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
clean:
dh_testdir
dh_testroot
dh_clean
install:
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
ifeq ($(DEB_BUILD_ARCH),amd64)
install -D -m 0755 debian/magician.wrapper \
debian/magician/usr/sbin/magician
install -D -m 0755 amd64/2.00/magician \
debian/magician/usr/lib/magician/magician-2.00
install -D -m 0755 amd64/1.00/magician \
debian/magician/usr/lib/magician/magician-1.00
endif
ifeq ($(DEB_BUILD_ARCH),i386)
install -D -m 0755 debian/magician.wrapper \
debian/magician/usr/sbin/magician
install -D -m 0755 i386/2.00/magician \
debian/magician/usr/lib/magician/magician-2.00
install -D -m 0755 i386/1.00/magician \
debian/magician/usr/lib/magician/magician-1.00
endif
dh_install
binary-indep: build install
binary-arch: build install
dh_testdir
dh_testroot
dh_installchangelogs
dh_installdocs
dh_link
dh_compress
dh_fixperms
dh_makeshlibs
dh_strip
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
binary: binary-arch binary-indep
.PHONY: build clean binary-indep binary-arch binary install