Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #16088: Rudder-api-client fails to build, debian packaging files are not copied properly by dh #2131

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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