2008-01-14 23:14:58 +00:00
|
|
|
#!/usr/bin/make -f
|
2008-05-05 21:04:10 +00:00
|
|
|
# -*- makefile -*-
|
|
|
|
# Sample debian/rules that uses debhelper.
|
|
|
|
# This file was originally written by Joey Hess and Craig Small.
|
|
|
|
# As a special exception, when this file is copied by dh-make into a
|
|
|
|
# dh-make output file, you may use that output file without restriction.
|
|
|
|
# This special exception was added by Craig Small in version 0.37 of dh-make.
|
2008-01-14 23:14:58 +00:00
|
|
|
|
|
|
|
# Uncomment this to turn on verbose mode.
|
|
|
|
#export DH_VERBOSE=1
|
|
|
|
|
2008-05-05 21:04:10 +00:00
|
|
|
export DH_COMPAT=5
|
2008-01-14 23:14:58 +00:00
|
|
|
|
|
|
|
|
|
|
|
build:
|
|
|
|
dh_testdir
|
2011-04-29 21:20:55 +00:00
|
|
|
./modifyUtils 2.5.0
|
2008-05-05 21:04:10 +00:00
|
|
|
./db2man
|
2008-01-14 23:14:58 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
dh_testdir
|
|
|
|
dh_testroot
|
|
|
|
dh_clean -d
|
|
|
|
|
2008-05-05 21:04:10 +00:00
|
|
|
install:
|
2008-01-14 23:14:58 +00:00
|
|
|
dh_testdir
|
|
|
|
dh_testroot
|
2008-05-05 21:04:10 +00:00
|
|
|
dh_installdirs
|
|
|
|
dh_install
|
|
|
|
|
2008-01-14 23:14:58 +00:00
|
|
|
|
2008-05-05 21:04:10 +00:00
|
|
|
# Build architecture-independent files here.
|
2008-01-14 23:14:58 +00:00
|
|
|
binary-indep: build install
|
2008-05-05 21:04:10 +00:00
|
|
|
# We have nothing to do by default.
|
2008-01-14 23:14:58 +00:00
|
|
|
|
2008-05-05 21:04:10 +00:00
|
|
|
# Build architecture-dependent files here.
|
2008-01-14 23:14:58 +00:00
|
|
|
binary-arch: build install
|
|
|
|
dh_testdir
|
|
|
|
dh_testroot
|
2008-05-05 21:04:10 +00:00
|
|
|
dh_installchangelogs
|
2008-01-14 23:14:58 +00:00
|
|
|
dh_installdocs
|
2008-05-05 21:04:10 +00:00
|
|
|
# dh_installexamples
|
|
|
|
dh_install
|
2011-10-10 15:39:05 +00:00
|
|
|
chmod 644 `pwd`/debian/perl-xcat/opt/xcat/lib/perl/xCAT/*
|
|
|
|
chmod 755 `pwd`/debian/perl-xcat/opt/xcat/lib/perl/xCAT/data
|
|
|
|
chmod 644 `pwd`/debian/perl-xcat/opt/xcat/share/doc/packages/perl-xCAT/*
|
|
|
|
chmod 644 `pwd`/debian/perl-xcat/opt/xcat/README
|
|
|
|
chmod 644 `pwd`/debian/perl-xcat/opt/xcat/share/man/man5/*
|
|
|
|
chmod 644 `pwd`/debian/perl-xcat/opt/xcat/share/doc/man5/*
|
|
|
|
chmod 644 `pwd`/debian/perl-xcat/opt/xcat/share/man/man7/*
|
|
|
|
chmod 644 `pwd`/debian/perl-xcat/opt/xcat/share/doc/man7/*
|
2008-05-05 21:04:10 +00:00
|
|
|
# dh_installmenu
|
|
|
|
# dh_installdebconf
|
|
|
|
# dh_installlogrotate
|
|
|
|
# dh_installemacsen
|
|
|
|
# dh_installpam
|
|
|
|
# dh_installmime
|
|
|
|
# dh_python
|
|
|
|
# dh_installinit
|
|
|
|
# dh_installcron
|
|
|
|
# dh_installinfo
|
|
|
|
dh_installman
|
|
|
|
# dh_link
|
|
|
|
# dh_strip
|
|
|
|
# dh_compress
|
|
|
|
# dh_fixperms
|
|
|
|
dh_perl
|
2008-01-14 23:14:58 +00:00
|
|
|
dh_makeshlibs
|
|
|
|
dh_installdeb
|
2008-05-05 21:04:10 +00:00
|
|
|
dh_shlibdeps
|
2008-01-14 23:14:58 +00:00
|
|
|
dh_gencontrol
|
|
|
|
dh_md5sums
|
|
|
|
dh_builddeb
|
|
|
|
|
|
|
|
binary: binary-indep binary-arch
|
2008-05-05 21:04:10 +00:00
|
|
|
.PHONY: build clean binary-indep binary-arch binary install configure
|