mirror of https://github.com/SeanOMik/znc-push.git
Fix makefile/sed -i
This commit is contained in:
parent
a949deddc3
commit
277630019f
4
Makefile
4
Makefile
|
@ -8,9 +8,9 @@ else
|
|||
endif
|
||||
|
||||
push.so: push.cpp
|
||||
sed -i -e "s|PUSHVERSION \".*\"|PUSHVERSION \"$(version)\"|" push.cpp
|
||||
sed -i "" -e "s|PUSHVERSION \".*\"|PUSHVERSION \"$(version)\"|" push.cpp
|
||||
CXXFLAGS="$(CXXFLAGS) $(flags)" LIBS="$(LIBS) $(flags)" znc-buildmod push.cpp
|
||||
sed -i -e "s|PUSHVERSION \".*\"|PUSHVERSION \"dev\"|" push.cpp
|
||||
sed -i "" -e "s|PUSHVERSION \".*\"|PUSHVERSION \"dev\"|" push.cpp
|
||||
|
||||
install: push.so
|
||||
mkdir -p $(HOME)/.znc/modules/
|
||||
|
|
Loading…
Reference in New Issue