arcconf/debian/rules

83 lines
2.5 KiB
Plaintext
Raw Normal View History

2017-04-25 04:07:49 +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/arcconf.wrapper \
debian/arcconf/usr/sbin/arcconf
2017-05-17 22:36:31 +02:00
install -D -m 0755 amd64/centos5/libstdc++.so.6.0.8 \
debian/arcconf/usr/lib/arcconf/libstdc++.so.6.0.8
ln -s libstdc++.so.6.0.8 debian/arcconf/usr/lib/arcconf/libstdc++.so.6
2017-04-25 04:07:49 +02:00
install -D -m 0755 amd64/2.03/arcconf \
debian/arcconf/usr/lib/arcconf/arcconf-2.03
install -D -m 0755 amd64/2.02/arcconf \
debian/arcconf/usr/lib/arcconf/arcconf-2.02
install -D -m 0755 amd64/2.01/arcconf \
debian/arcconf/usr/lib/arcconf/arcconf-2.01
install -D -m 0755 amd64/2.00/arcconf \
debian/arcconf/usr/lib/arcconf/arcconf-2.00
install -D -m 0755 amd64/1.08/arcconf \
debian/arcconf/usr/lib/arcconf/arcconf-1.08
install -D -m 0755 amd64/1.07/arcconf \
debian/arcconf/usr/lib/arcconf/arcconf-1.07
install -D -m 0755 amd64/1.06/arcconf \
debian/arcconf/usr/lib/arcconf/arcconf-1.06
install -D -m 0755 amd64/1.05/arcconf \
debian/arcconf/usr/lib/arcconf/arcconf-1.05
install -D -m 0755 amd64/1.04/arcconf \
debian/arcconf/usr/lib/arcconf/arcconf-1.04
endif
ifeq ($(DEB_BUILD_ARCH),i386)
install -D -m 0755 debian/arcconf.wrapper \
debian/arcconf/usr/sbin/arcconf
2017-05-17 22:36:31 +02:00
install -D -m 0755 i386/centos5/libstdc++.so.6.0.8 \
debian/arcconf/usr/lib/arcconf/libstdc++.so.6.0.8
ln -s libstdc++.so.6.0.8 debian/arcconf/usr/lib/arcconf/libstdc++.so.6
2017-04-25 04:07:49 +02:00
install -D -m 0755 i386/2.01/arcconf \
debian/arcconf/usr/lib/arcconf/arcconf-2.01
install -D -m 0755 i386/2.00/arcconf \
debian/arcconf/usr/lib/arcconf/arcconf-2.00
install -D -m 0755 i386/1.08/arcconf \
debian/arcconf/usr/lib/arcconf/arcconf-1.08
install -D -m 0755 i386/1.07/arcconf \
debian/arcconf/usr/lib/arcconf/arcconf-1.07
install -D -m 0755 i386/1.06/arcconf \
debian/arcconf/usr/lib/arcconf/arcconf-1.06
install -D -m 0755 i386/1.05/arcconf \
debian/arcconf/usr/lib/arcconf/arcconf-1.05
install -D -m 0755 i386/1.04/arcconf \
debian/arcconf/usr/lib/arcconf/arcconf-1.04
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