| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
MODULE := reactbundle |
| 4 |
DEBDIR := debian/icingaweb2-module-$(MODULE) |
| 5 |
|
| 6 |
%: |
| 7 |
dh $@ |
| 8 |
|
| 9 |
override_dh_auto_install: |
| 10 |
mkdir -p $(DEBDIR)/usr/share/icingaweb2/modules/$(MODULE) |
| 11 |
find . -maxdepth 1 -mindepth 1 -and -not -name debian -and -not -name ".git*" -exec cp -a {} $(DEBDIR)/usr/share/icingaweb2/modules/$(MODULE) \; |
| 12 |
|
| 13 |
find $(DEBDIR)/usr/share/icingaweb2/modules/$(MODULE) -name LICENSE -exec rm -f {} \; |
| 14 |
|
| 15 |
override_dh_fixperms: |
| 16 |
dh_fixperms |
| 17 |
find debian -name '*.php' -exec chmod -x {} + |