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 #14076: debian packages fail to build #1764

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 6 additions & 15 deletions rudder-inventory-ldap/debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,14 @@ export DH_VERBOSE=1
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

build:
dh_testdir
cd SOURCES && make build
touch $@
override_dh_auto_build:
dh_auto_build -- -C SOURCES

clean:
dh_testdir
dh_testroot
rm -f build install
cd SOURCES && make clean
dh_clean
override_dh_auto_install:
dh_auto_install -- -C SOURCES

install: build
dh_testdir
dh_testroot
cd SOURCES && make install DESTDIR=$(CURDIR)/debian/rudder-inventory-ldap
touch $@
override_dh_auto_clean:
dh_auto_clean -- -C SOURCES

# Default rule that guess what to do for missing targets
%:
Expand Down
21 changes: 6 additions & 15 deletions rudder-reports/debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,14 @@
# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1

build:
dh_testdir
cd SOURCES && make build
touch $@
override_dh_auto_build:
dh_auto_build -- -C SOURCES

clean:
dh_testdir
dh_testroot
rm -f build install
cd SOURCES && make clean
dh_clean
override_dh_auto_install:
dh_auto_install -- -C SOURCES

install: build
dh_testdir
dh_testroot
cd SOURCES && make install DESTDIR=$(CURDIR)/debian/rudder-reports
touch $@
override_dh_auto_clean:
dh_auto_clean -- -C SOURCES

# Default rule that guess what to do for missing targets
%:
Expand Down
21 changes: 6 additions & 15 deletions rudder-server-relay/debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,14 @@
# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1

build:
dh_testdir
cd SOURCES && make build
touch $@
override_dh_auto_build:
dh_auto_build -- -C SOURCES

clean:
dh_testdir
dh_testroot
rm -f build install
cd SOURCES && make clean
dh_clean
override_dh_auto_install:
dh_auto_install -- -C SOURCES

install: build
dh_testdir
dh_testroot
cd SOURCES && make install DESTDIR=$(CURDIR)/debian/rudder-server-relay
touch $@
override_dh_auto_clean:
dh_auto_clean -- -C SOURCES

# Default rule that guess what to do for missing targets
%:
Expand Down
21 changes: 6 additions & 15 deletions rudder-server-root/debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,14 @@
# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1

build:
dh_testdir
cd SOURCES && make build
touch $@
override_dh_auto_build:
dh_auto_build -- -C SOURCES

clean:
dh_testdir
dh_testroot
rm -f build install
cd SOURCES && make clean
dh_clean
override_dh_auto_install:
dh_auto_install -- -C SOURCES

install: build
dh_testdir
dh_testroot
cd SOURCES && make install DESTDIR=$(CURDIR)/debian/rudder-server-root
touch $@
override_dh_auto_clean:
dh_auto_clean -- -C SOURCES

# Default rule that guess what to do for missing targets
%:
Expand Down
29 changes: 12 additions & 17 deletions rudder-webapp/debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,6 @@
# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1

build: java8
dh_testdir
# Build Virtualenv
cd SOURCES && make build
touch $@

clean:
dh_testdir
dh_testroot
rm -f build install
cd SOURCES && make clean
dh_clean

# dirty hack, don't do this, if your builder comes with java preinstalled you can remove this
# TODO remove as soon as possible
java8:
Expand All @@ -30,11 +17,19 @@ java8:
fi \
)

install: build
dh_testdir
dh_testroot
cd SOURCES && make install DESTDIR=$(CURDIR)/debian/rudder-webapp
build: java8
dh $@

override_dh_auto_build:
dh_auto_build -- -C SOURCES

override_dh_auto_install:
dh_auto_install -- -C SOURCES

override_dh_auto_clean:
dh_auto_clean -- -C SOURCES

# Default rule that guess what to do for missing targets
%:
dh $@