2013-08-27 23:45:22 +00:00
|
|
|
version := $(shell git describe --dirty)
|
2013-07-31 17:35:53 +00:00
|
|
|
|
2011-09-29 13:30:06 +00:00
|
|
|
push.so: push.cpp
|
2013-07-31 17:35:53 +00:00
|
|
|
sed -i -e "s|PUSHVERSION \".*\"|PUSHVERSION \"$(version)\"|" push.cpp
|
2011-09-29 13:30:06 +00:00
|
|
|
znc-buildmod push.cpp
|
2013-07-31 17:35:53 +00:00
|
|
|
sed -i -e "s|PUSHVERSION \".*\"|PUSHVERSION \"dev\"|" push.cpp
|
2011-01-11 03:33:13 +00:00
|
|
|
|
2012-08-31 18:15:58 +00:00
|
|
|
install: push.so
|
|
|
|
cp push.so $(HOME)/.znc/modules/push.so
|
|
|
|
|
2011-09-28 20:26:24 +00:00
|
|
|
clean:
|
2011-09-29 13:30:06 +00:00
|
|
|
-rm -f push.so
|