[Pkg-privacy-commits] [irssi-plugin-otr] 03/267: now fetching private irssi headers from svn
Ximin Luo
infinity0 at moszumanska.debian.org
Sat Aug 22 12:41:21 UTC 2015
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch debian
in repository irssi-plugin-otr.
commit b8f48962c0853cd88e5ef50543a0268264df1f27
Author: Uli Meis <a.sporto+bee at gmail.com>
Date: Tue May 27 14:17:52 2008 +0200
now fetching private irssi headers from svn
---
.gitignore | 4 +++-
Makefile | 24 ++++++++++++------------
2 files changed, 15 insertions(+), 13 deletions(-)
diff --git a/.gitignore b/.gitignore
index b28d14f..c0cd457 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,5 @@
*.o
*.so
-config.h
+term.h
+statusbar.h
+mainwindows.h
diff --git a/Makefile b/Makefile
index 11e151f..541377c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
SRCS=otr.c otrutil.c ui.c
-HDRS=otr.h otrutil.h ui.h mainwindows.h statusbar.h
+HDRS=otr.h otrutil.h ui.h mainwindows.h
OBJS=$(SRCS:%.c=%.o)
INCLUDES=-I/usr/include/irssi/ -I/usr/include/irssi/src -I/usr/include/irssi/src/core -I.
@@ -11,23 +11,23 @@ LDFLAGS=-shared -lotr
CC=gcc
LD=ld
-.PHONY: deploy privheaders
+.PHONY: deploy compile
-%.so:
- ${LD} ${LDFLAGS} $^ -o $@
+compile: libotr.so
deploy: libotr.so
cp libotr.so ~/.irssi/modules/libotr.so
+
+%.so:
+ ${LD} ${LDFLAGS} $^ -o $@
+
mainwindows.h:
- @echo "****" You need to copy over mainwindows.h and statusbar.h from your irssi source \(see irssi FS#535 for info\)
- @echo "****" Then you need to patch mainwindows.h with headers.patch
- @echo "****" Or you could just call "make privheaders IRSSI_SRC=path/to/irssi-source"
- @exit 1
-
-privheaders:
- cp ${IRSSI_SRC}/src/fe-text/{mainwindows.h,statusbar.h} .
- patch -p0 < privheaders.patch
+ @echo "**** Fetching headers from irssi svn..."
+ @for hdr in mainwindows.h term.h statusbar.h; do \
+ svn cat -r 4815 http://svn.irssi.org/repos/irssi/trunk/src/fe-text/$$hdr >$$hdr \
+ ;done
+ patch -p0 mainwindows.h <privheaders.patch
otr.o: otr.c ${HDRS}
otrutil.o: otrutil.c ${HDRS}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/irssi-plugin-otr.git
More information about the Pkg-privacy-commits
mailing list