File: rules

package info (click to toggle)
squirrelmail-logger 2.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 256 kB
  • ctags: 257
  • sloc: php: 871; sh: 158; makefile: 19
file content (23 lines) | stat: -rwxr-xr-x 604 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f

PACKAGE = $(shell dh_listpackages)
TMP     = $(CURDIR)/debian/$(PACKAGE)

%:
	dh $@

override_dh_install:
	find . -type f -not \( \
		-path '*/debian/*' -or \
		-path '*/contrib/*' -or \
		-path '*/.pc/*' -or \
		-name 'version' -or \
		-name 'COPYING' -or \
		-name 'INSTALL' -or \
		-name 'README' -or \
		-name 'getpot' -or \
		-name 'make_release.sh' -or \
		-name 'config_example.php' \
		\) -exec install -D --mode=644 {} $(TMP)/usr/share/squirrelmail/plugins/squirrel_logger/{} \;
	install -D --mode=644 config_example.php $(TMP)/etc/squirrelmail/logger-config.php
	dh_install