summaryrefslogtreecommitdiffstats
path: root/debian/rules
blob: b0d7d5cc6591fdd312167470169c137793fd408c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/make -f

PACKAGES := apache

%:
	dh ${@} --with apache2

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}-tools install; \
	done

	# apache-tools
	rm -f debian/open-infrastructure-apache-tools/usr/share/doc/apache-tools/CHANGELOG.txt
	rm -f debian/open-infrastructure-apache-tools/usr/share/doc/apache-tools/LICENSE.txt
	mv debian/open-infrastructure-apache-tools/usr/share/doc/* debian/open-infrastructure-apache-tools/usr/share/doc/open-infrastructure-apache-tools