Skip to content

Commit b4e696b

Browse files
author
Sebastiano Merlino
committed
Adjusted debian build rules
1 parent 0a36018 commit b4e696b

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

Makefile.am

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,9 @@ dist-hook:
8888

8989
deb:
9090
debuild -i -us -uc -b
91+
mv ../libhttpserver_@VERSION@_* .
92+
mv ../libhttpserver-dev_@VERSION@_* .
93+
mv ../libhttpserver-dbg_@VERSION@_* .
9194

9295
rpm: dist
9396
mkdir -p redhat/SOURCES

debian/rules.in

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,20 @@
33
# Uncomment this to turn on verbose mode.
44
#export DH_VERBOSE=1
55

6-
DEB_CONFIGURE_EXTRA_FLAGS += --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)
7-
CURDIR =
8-
DEB_SRCDIR = @abs_top_srcdir@
9-
DEB_DESTDIR = @abs_top_builddir@/debian/tmp
10-
DEB_DH_INSTALL_SOURCEDIR = @abs_top_builddir@/debian/tmp
11-
DEB_BUILDDIR = @abs_top_builddir@/deb_build
12-
DEB_MAKE_CHECK_TARGET = check
13-
DEB_DH_SHLIBDEPS_ARGS_ALL = -X*
14-
156
include /usr/share/cdbs/1/rules/debhelper.mk
16-
include /usr/share/cdbs/1/class/autotools.mk
7+
8+
DEB_CONFIGURE_EXTRA_FLAGS += --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)
9+
CURDIR :=
10+
DEB_SRCDIR := @abs_top_srcdir@
11+
DEB_DESTDIR := @abs_top_builddir@/debian/tmp
12+
DEB_DH_INSTALL_SOURCEDIR := @abs_top_builddir@/debian/tmp
13+
DEB_BUILDDIR := @abs_top_builddir@/deb_build
1714

1815
# compile jobs
1916
MAKE += -j1
2017

18+
include /usr/share/cdbs/1/class/autotools.mk
19+
2120
#makebuilddir/libhttpserver::
2221
# autoreconf --install
2322

0 commit comments

Comments
 (0)