summaryrefslogtreecommitdiffstats
path: root/debian/rules
blob: 331c58c84e5edd5d01d3685e04d86a8f01431640 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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