znc-push/Makefile

13 lines
293 B
Makefile
Raw Normal View History

version := $(shell git describe)
2011-09-29 13:30:06 +00:00
push.so: push.cpp
sed -i -e "s|PUSHVERSION \".*\"|PUSHVERSION \"$(version)\"|" push.cpp
2011-09-29 13:30:06 +00:00
znc-buildmod push.cpp
sed -i -e "s|PUSHVERSION \".*\"|PUSHVERSION \"dev\"|" push.cpp
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