Skip to content

Commit

Permalink
Fixes #16088: Rudder-api-client fails to build, debian packaging file…
Browse files Browse the repository at this point in the history
…s are not copied properly by dh
  • Loading branch information
Fdall committed Oct 31, 2019
1 parent ce1d496 commit 771fc02
Showing 1 changed file with 27 additions and 4 deletions.
31 changes: 27 additions & 4 deletions rudder-api-client/debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,25 @@
# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1

build:
# Force python everywhere in 5.0
configure: configure-stamp
configure-stamp:
dh_testdir

# Add here commands to configure the package.

build: build-stamp
# Force python everywhere in 5.0
find . -type f | xargs sed -i '1,1s|#!/usr/bin/python3|#!/usr/bin/python|'

build-stamp: configure-stamp
dh_testdir

touch $@

clean:
dh_testdir
dh_testroot
rm -rf BUILD
rm -f build-stamp configure-stamp

# Add here commands to clean up after the build process.
dh_clean
Expand All @@ -27,6 +38,7 @@ install: build
dh_prep
dh_installdirs

# Add here commands to install the package into debian/normation-openldap.

# Build architecture-independent files here.
binary-indep: install
Expand All @@ -37,16 +49,27 @@ binary-arch: install
dh_testdir
dh_testroot
dh_installchangelogs
#
# dh_installdocs
# dh_installexamples
dh_install --sourcedir=$(CURDIR)/SOURCES/rudder-sources/rudder-api-client/ build/ /

# dh_installmenu
# dh_installdebconf
# dh_installlogrotate
# dh_installmime
# dh_python
# dh_installcron
# dh_installinfo
dh_installman
dh_link
dh_strip
dh_compress
dh_fixperms
# dh_perl
# dh_makeshlibs
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb

Expand Down

0 comments on commit 771fc02

Please sign in to comment.