File: rules

package info (click to toggle)
icingaweb2-module-reactbundle 0.8.0-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 3,740 kB
  • sloc: php: 28,663; sh: 42; makefile: 11
file content (17 lines) | stat: -rwxr-xr-x 501 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

MODULE := reactbundle
DEBDIR := debian/icingaweb2-module-$(MODULE)

%:
	dh $@

override_dh_auto_install:
	mkdir -p $(DEBDIR)/usr/share/icingaweb2/modules/$(MODULE)
	find . -maxdepth 1 -mindepth 1 -and -not -name debian -and -not -name ".git*" -exec cp -a {} $(DEBDIR)/usr/share/icingaweb2/modules/$(MODULE) \;

	find $(DEBDIR)/usr/share/icingaweb2/modules/$(MODULE) -name LICENSE -exec rm -f {} \;

override_dh_fixperms:
	dh_fixperms
	find debian -name '*.php' -exec chmod -x {} +