mirror of https://github.com/SeanOMik/znc-push.git
13 lines
301 B
Makefile
13 lines
301 B
Makefile
version := $(shell git describe --dirty)
|
|
|
|
push.so: push.cpp
|
|
sed -i -e "s|PUSHVERSION \".*\"|PUSHVERSION \"$(version)\"|" push.cpp
|
|
znc-buildmod push.cpp
|
|
sed -i -e "s|PUSHVERSION \".*\"|PUSHVERSION \"dev\"|" push.cpp
|
|
|
|
install: push.so
|
|
cp push.so $(HOME)/.znc/modules/push.so
|
|
|
|
clean:
|
|
-rm -f push.so
|