diff options
author | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2021-09-12 09:30:45 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2021-09-12 11:50:21 +0000 |
commit | 2f10c858ea8bc579414b3a8d8b6eced4a94a5114 (patch) | |
tree | 0eac44ac3959c2f136a88189d898d7b28dead958 /debian/rules | |
parent | Adding ddns-client manpage. (diff) | |
download | network-tools-2f10c858ea8bc579414b3a8d8b6eced4a94a5114.tar.xz network-tools-2f10c858ea8bc579414b3a8d8b6eced4a94a5114.zip |
Adding debian packaging.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to '')
-rwxr-xr-x | debian/rules | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..331c58c --- /dev/null +++ b/debian/rules @@ -0,0 +1,21 @@ +#!/usr/bin/make -f + +PACKAGES := $(shell dh_listpackages | cut -d '-' -f 3-) + +%: + dh ${@} + +override_dh_auto_build: + # disabled + +override_dh_auto_clean: + for PACKAGE in $(PACKAGES); \ + do \ + $(MAKE) -C $${PACKAGE} clean; \ + done + +override_dh_auto_install: + for PACKAGE in $(PACKAGES); \ + do \ + $(MAKE) -C $${PACKAGE} DESTDIR=$(CURDIR)/debian/open-infrastructure-$${PACKAGE} install; \ + done |