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
|
#!/usr/bin/make -f
# $Id: rules,v 1.4 2002/09/12 14:06:16 joerg Exp $
#export DH_VERBOSE=1
DEB=debian/lg-base
LG=$(DEB)/usr/share/lg
build: build-stamp
build-stamp:
dh_testdir
touch build-stamp
clean:
dh_testdir
dh_testroot
dh_clean
binary-indep: build
dh_testdir
dh_testroot
dh_clean
dh_installdirs
# move files into debian
install -m0755 debian/fixlinks $(DEB)/usr/share/lg/scripts
install -m0755 debian/install-issue $(DEB)/usr/share/lg/scripts
tar --exclude=debian --exclude=build-stamp -czf $(DEB)/usr/share/doc/lg-base/lg-base.tar.gz *
dh_installchangelogs
dh_installdebconf
dh_installdocs
dh_fixperms
dh_installdeb
dh_compress
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
binary-arch: build
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary
|