Fix makefile/sed -i

This commit is contained in:
John Reese 2015-09-21 12:57:16 -07:00
parent a949deddc3
commit 277630019f
1 changed files with 2 additions and 2 deletions

View File

@ -8,9 +8,9 @@ else
endif endif
push.so: push.cpp 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 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 install: push.so
mkdir -p $(HOME)/.znc/modules/ mkdir -p $(HOME)/.znc/modules/