6 |
# Uncomment this to turn on verbose mode. |
# Uncomment this to turn on verbose mode. |
7 |
#export DH_VERBOSE=1 |
#export DH_VERBOSE=1 |
8 |
|
|
|
# This is the debhelper compatibility version to use. |
|
|
export DH_COMPAT=4 |
|
|
|
|
9 |
# These are used for cross-compiling and for saving the configure script |
# These are used for cross-compiling and for saving the configure script |
10 |
# from having to guess our platform (since we know it already) |
# from having to guess our platform (since we know it already) |
11 |
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) |
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) |
22 |
config.status: configure |
config.status: configure |
23 |
dh_testdir |
dh_testdir |
24 |
# Add here commands to configure the package. |
# Add here commands to configure the package. |
25 |
|
chmod a+x ./configure |
26 |
./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info |
./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info |
27 |
|
|
28 |
|
|
43 |
dh_testroot |
dh_testroot |
44 |
rm -f build-stamp |
rm -f build-stamp |
45 |
|
|
46 |
$(MAKE) -f Makefile.cvs |
$(MAKE) -f Makefile.svn || true |
47 |
|
chmod a+x ./configure |
48 |
./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info |
./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info |
49 |
|
|
50 |
# Add here commands to clean up after the build process. |
# Add here commands to clean up after the build process. |
89 |
dh_fixperms -a |
dh_fixperms -a |
90 |
# dh_perl |
# dh_perl |
91 |
# dh_python |
# dh_python |
92 |
dh_makeshlibs -pliblscp |
dh_makeshlibs |
93 |
dh_installdeb -a |
dh_installdeb |
94 |
dh_shlibdeps -pliblscp |
dh_shlibdeps |
95 |
dh_gencontrol -a |
dh_gencontrol |
96 |
dh_md5sums -a |
dh_md5sums |
97 |
dh_builddeb -a |
dh_builddeb |
98 |
|
|
99 |
binary: binary-indep binary-arch |
binary: binary-indep binary-arch |
100 |
.PHONY: build clean binary-indep binary-arch binary install |
.PHONY: build clean binary-indep binary-arch binary install |