File: rules

package info (click to toggle)
php-horde-webmail 5.2.22-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 684 kB
  • sloc: xml: 907; php: 47; makefile: 18
file content (27 lines) | stat: -rwxr-xr-x 889 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
25
26
27
#!/usr/bin/make -f

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

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

override_dh_install:
	dh_install
	rm $(CURDIR)/debian/php-horde-webmail/usr/share/doc/php-horde-webmail/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 "imp" app:
	mv $(DESTDIR)/usr/share/horde/imp/config $(DESTDIR)/etc/horde/imp
	dh_link etc/horde/imp usr/share/horde/imp/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