summaryrefslogtreecommitdiffstats
path: root/modules/zoneminder/Makefile
blob: 273027150ae99fad71e21df7ab06793072cb6d21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

.PHONY: fix it so hard
it: so
so: it hard fix
	apt-get install --yes zoneminder libv4l-0

hard: /etc/sysctl.d/zoneminder.conf
/etc/sysctl.d/zoneminder.conf: zoneminder.conf
	cp $< $@
	sysctl -p $@

fix: zmdc.pl-LD_PRELOAD.patch
	(cd /usr/bin && patch -N) < $< || :