1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
|
#!/usr/bin/make -f
#export DH_VERBOSE=1
include /usr/share/quilt/quilt.make
configure: configure-stamp
configure-stamp: $(QUILT_STAMPFN)
dh_testdir
./configure --prefix=/usr --mandir=/usr/share/man/man3
touch $@
build-indep:
build build-arch: build-stamp
build-stamp: configure-stamp
make
touch $@
install: build-stamp
dh_testroot
dh_clean -k debian/substvars
$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
binary-indep:
binary binary-arch: install
dh_installchangelogs -plibyada4 ChangeLog
dh_installdocs -plibyada4 README
chrpath -d debian/tmp/usr/lib/*.so
dh_movefiles -a
for d in debian/libyada-*4/ ; do install -D -m644 debian/backends.lintian $$d/usr/share/lintian/overrides/`basename $$d` || exit 1 ; done
dh_link -a
dh_shlibdeps -a
dh_strip -a
dh_compress -a
dh_fixperms -a
dh_makeshlibs -a
dh_installdeb -a
dh_gencontrol -a
dh_md5sums -a
dh_builddeb -a
clean: unpatch
dh_testdir
-$(MAKE) distclean
dh_clean libtool
rm -f configure-stamp build-stamp
.PHONY: build build-indep build-arch clean binary binary-indep binary-arch install configure
|