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 50 51 52 53 54 55 56 57 58
|
#! /usr/bin/make -f
## debian/rules to build the debian version of pilot-manager.
## rewritten from scratch by Chris Waters <xtifr@debian.org>
base=debian/pilot-manager
perlbase=$(base)/usr/share/perl5
PMbase=$(perlbase)/PilotMgr
build:
true
# there really isn't anything to build if we're not building CDE...
binary: binary-indep binary-arch
binary-arch:
true
# there are no architecture-dependent files generated by this
# package. If there were any, they would be made here.
binary-indep: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
install -m 0755 PilotMgr.pm $(perlbase)
install -m 0644 Backup.pm Installer.pm $(PMbase)
install -m 0644 SendMail.pm SyncAB.pm SyncFood.pm SyncMemo.pm \
SyncPlan.pm SyncTime.pm $(PMbase)
install -m 0644 lib/perl5/* $(PMbase)
install -m 0644 docs/* $(PMbase)/docs
install -m 0644 lib/images/* $(PMbase)/lib/images
dh_installdocs README contrib
dh_installchangelogs ChangeLog
dh_installmenu
dh_installman debian/PilotManager.1
dh_link
dh_compress
dh_fixperms -XPilotMgr.pm
dh_installdeb
# still not sure about dh_perl...
# dh_perl usr/share/perl5/PilotMgr
dh_gencontrol
dh_md5sums
dh_builddeb
clean:
dh_testdir
dh_testroot
dh_clean
.PHONY: build binary binary-arch binary-indep clean
# end of pilot-manager rules
|