2015-01-25 18:36:02 +01:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
# Sample debian/rules that uses debhelper.
|
|
|
|
# GNU copyright 1997 to 1999 by Joey Hess.
|
|
|
|
|
|
|
|
# Uncomment this to turn on verbose mode.
|
|
|
|
#export DH_VERBOSE=1
|
|
|
|
|
|
|
|
clean:
|
|
|
|
dh_testdir
|
|
|
|
dh_testroot
|
|
|
|
rm -f build-stamp
|
|
|
|
dh_clean
|
|
|
|
|
2015-02-27 15:20:32 +01:00
|
|
|
install:
|
2015-01-25 18:36:02 +01:00
|
|
|
dh_testdir
|
|
|
|
dh_testroot
|
2015-02-27 15:20:32 +01:00
|
|
|
dh_prep
|
2015-01-25 18:36:02 +01:00
|
|
|
dh_installdirs
|
|
|
|
|
|
|
|
# Add here commands to install the package into debian/tmp.
|
2015-11-01 19:57:26 +01:00
|
|
|
./install.sh `pwd`/debian/grc/usr `pwd`/debian/grc
|
2017-01-27 16:57:43 +01:00
|
|
|
# this is too invasive, would be incluided in a next major version
|
|
|
|
rm `pwd`/debian/grc/etc/profile.d/grc.bashrc
|
2015-02-27 15:20:32 +01:00
|
|
|
|
|
|
|
build: build-arch build-indep
|
|
|
|
build-arch: build-stamp
|
|
|
|
build-indep: build-stamp
|
|
|
|
build-stamp:
|
|
|
|
# nothing to do
|
2015-01-25 18:36:02 +01:00
|
|
|
|
|
|
|
# Build architecture-dependent files here.
|
2015-02-27 15:20:32 +01:00
|
|
|
binary-arch: install
|
|
|
|
# nothing to do
|
2015-01-25 18:36:02 +01:00
|
|
|
|
|
|
|
# Build architecture-independent files here.
|
|
|
|
binary-indep: build install
|
|
|
|
# dh_testversion
|
|
|
|
dh_testdir
|
|
|
|
dh_testroot
|
|
|
|
# dh_installdebconf
|
|
|
|
dh_installdocs
|
|
|
|
dh_installexamples
|
|
|
|
dh_installmenu
|
|
|
|
# dh_installemacsen
|
|
|
|
# dh_installpam
|
|
|
|
# dh_installinit
|
|
|
|
dh_installcron
|
|
|
|
dh_installman grc.1 grcat.1
|
|
|
|
dh_installinfo
|
|
|
|
# dh_undocumented
|
2017-01-19 11:05:18 +01:00
|
|
|
dh_installchangelogs
|
2015-01-25 18:36:02 +01:00
|
|
|
dh_link
|
|
|
|
dh_strip
|
|
|
|
dh_compress
|
|
|
|
dh_fixperms
|
|
|
|
# You may want to make some executables suid here.
|
|
|
|
# dh_suidregister
|
|
|
|
# dh_makeshlibs
|
|
|
|
dh_installdeb
|
|
|
|
# dh_perl
|
2017-01-27 16:30:31 +01:00
|
|
|
dh_python3
|
2015-01-25 18:36:02 +01:00
|
|
|
dh_shlibdeps
|
|
|
|
dh_gencontrol
|
|
|
|
dh_md5sums
|
|
|
|
dh_builddeb
|
|
|
|
|
|
|
|
binary: binary-indep binary-arch
|
|
|
|
.PHONY: build clean binary-indep binary-arch binary install
|