File: rules

package info (click to toggle)
umegaya 1.0
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 204 kB
  • ctags: 16
  • sloc: perl: 286; sh: 161; makefile: 15
file content (21 lines) | stat: -rwxr-xr-x 550 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
#!/usr/bin/make -f

export DH_VERBOSE=1

%:
	dh $@ --with apache2

override_dh_auto_build:
	perldoc -o nroff cgi-bin/umegaya               > man/umegaya.1
	perldoc -o nroff scripts/umegaya-adm           > man/umegaya-adm.1
	for file in man/*.1.mdwn ; do \
	  pandoc -s -w man $$file  -o man/$$(basename $$file .mdwn) ; done

override_dh_clean:
	$(RM) man/umegaya*.1
	dh_clean

override_dh_fixperms:
	dh_fixperms
	chmod -R      2775         $(CURDIR)/debian/umegaya/var/lib/umegaya
	chown -R www-data:www-data $(CURDIR)/debian/umegaya/var/lib/umegaya