mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
46 lines
1,021 B
Makefile
Executable file
46 lines
1,021 B
Makefile
Executable file
#!/usr/bin/make -f
|
|
# Made with the aid of dh_make, by Petr Cech.
|
|
# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
|
|
# Some lines taken from debmake, by Christoph Lameter.
|
|
|
|
build:
|
|
dh_testdir
|
|
make lib CXXFLAGS+="-fPIC -DSILENT" LDFLAGS+="-Wl,-soname,libunrar.so.0"
|
|
|
|
clean:
|
|
dh_testdir
|
|
dh_testroot
|
|
|
|
make clean
|
|
rm -f libunrar.so
|
|
|
|
dh_clean
|
|
|
|
# Build architecture-independent files here.
|
|
binary-indep: build
|
|
# We have nothing to do by default.
|
|
|
|
# Build architecture-dependent files here.
|
|
binary-arch: build
|
|
dh_testdir
|
|
dh_testroot
|
|
dh_prep
|
|
dh_installdirs
|
|
|
|
install -o root -g root -s -m 0644 libunrar.so debian/libunrar/usr/lib
|
|
install -m 0644 debian/lintian/libunrar debian/libunrar/usr/share/lintian/overrides
|
|
|
|
dh_link usr/lib/libunrar.so usr/lib/libunrar.so.0
|
|
dh_installdocs
|
|
dh_installchangelogs
|
|
dh_strip
|
|
dh_compress
|
|
dh_fixperms
|
|
dh_installdeb
|
|
dh_shlibdeps
|
|
dh_gencontrol
|
|
dh_md5sums
|
|
dh_builddeb
|
|
|
|
binary: binary-indep binary-arch
|
|
.PHONY: build clean binary-indep binary-arch binary
|