14,6 → 14,7 |
|
|
CFLAGS = -Wall -g |
LDFLAGS = -Wl,--as-needed |
|
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) |
CFLAGS += -O0 |
27,13 → 28,14 |
config.status: ${DPATCH_STAMPFN} configure |
dh_testdir |
# Add here commands to configure the package. |
CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) \ |
--build=$(DEB_BUILD_GNU_TYPE) \ |
--prefix=/usr \ |
--mandir=\$${prefix}/share/man \ |
--infodir=\$${prefix}/share/info \ |
--enable-shared \ |
--disable-dependency-tracking |
./configure --host=$(DEB_HOST_GNU_TYPE) \ |
--build=$(DEB_BUILD_GNU_TYPE) \ |
--prefix=/usr \ |
--mandir=\$${prefix}/share/man \ |
--infodir=\$${prefix}/share/info \ |
--enable-shared \ |
--disable-dependency-tracking \ |
CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" |
|
|
build: build-stamp |
41,7 → 43,10 |
dh_testdir |
|
# Add here commands to compile the package. |
$(MAKE) |
$(MAKE) MAKEINFO='makeinfo --enable-encoding' |
ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS))) |
$(MAKE) check |
endif |
|
touch build-stamp |
|
64,7 → 69,7 |
|
# Add here commands to install the package into debian/tmp |
$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp |
mv $(CURDIR)/debian/tmp/usr/bin/sexp-conv $(CURDIR)/debian/tmp/usr/bin/sexp-conv.nettle |
# mv $(CURDIR)/debian/tmp/usr/bin/sexp-conv $(CURDIR)/debian/tmp/usr/bin/sexp-conv.nettle |
|
# Build architecture-independent files here. |
binary-indep: build install |
74,17 → 79,17 |
binary-arch: build install |
dh_testdir |
dh_testroot |
dh_movefiles |
dh_install --sourcedir=debian/tmp |
dh_link |
dh_installchangelogs ChangeLog |
dh_installdocs |
dh_installexamples |
dh_installinfo |
dh_installman |
dh_link |
dh_strip |
dh_compress |
dh_compress -X.pdf |
dh_fixperms |
dh_makeshlibs -V 'libnettle2 (>= 1.15)' |
dh_makeshlibs #-V 'libnettle2 (>= 1.15)' |
dh_installdeb |
dh_shlibdeps |
dh_gencontrol |