File: rules

package info (click to toggle)
php-horde-groupware 5.2.22-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 536 kB
  • sloc: xml: 855; php: 56; makefile: 16
file content (24 lines) | stat: -rwxr-xr-x 754 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/make -f

HORDENAME=groupware
DESTDIR=$(CURDIR)/debian/php-horde-$(HORDENAME)

%:
	dh $@ --buildsystem=phppear --with phppear

override_dh_install:
	dh_install
	rm $(CURDIR)/debian/php-horde-groupware/usr/share/doc/php-horde-groupware/INSTALL*

override_dh_link:
	dh_link
	dh_installdirs etc/horde
	# config of "horde" app:
	mv $(DESTDIR)/usr/share/horde/config $(DESTDIR)/etc/horde/horde
	dh_link etc/horde/horde usr/share/horde/config
	# config of "gollem" app:
	mv $(DESTDIR)/usr/share/horde/gollem/config $(DESTDIR)/etc/horde/gollem
	dh_link etc/horde/gollem usr/share/horde/gollem/config
	# config of "turba" app:
	mv $(DESTDIR)/usr/share/horde/turba/config $(DESTDIR)/etc/horde/turba
	dh_link etc/horde/turba usr/share/horde/turba/config