[SCM] Debian packaging for the lrslib vertex enumeration package branch, master, updated. 08143926a8c76346ae9308746e390c53d21da63a
David Bremner
bremner at unb.ca
Sun Sep 13 16:13:17 UTC 2009
The following commit has been merged in the master branch:
commit fe9f1c4dc6b36ea4b783cc6c306448a38141aace
Author: David Bremner <bremner at unb.ca>
Date: Sun Aug 9 07:45:42 2009 -0300
make symlink so that things actually link dynamically.
diff --git a/debian/Makefile.debian b/debian/Makefile.debian
index 920a557..c44b3be 100644
--- a/debian/Makefile.debian
+++ b/debian/Makefile.debian
@@ -11,6 +11,7 @@ LIB=liblrs.a
SONAME ?=liblrs.so.0
SOMINOR ?=.0.0
SHLIB ?=$(SONAME)$(SOMINOR)
+SHLINK ?=liblrs.so
%.sho: %.c
${CC} -c -fPIC ${CPPFLAGS} ${CFLAGS} -o $@ $<
@@ -24,7 +25,10 @@ BINARIES=lrs redund nash fourier lrsbuffer
%: %.c
$(CC) $(CPPFLAGS) $(CFLAGS) -o $@ $< $(LDFLAGS)
-all: $(SHLIB) $(LIB) $(BINARIES)
+all: $(SHLINK) $(LIB) $(BINARIES)
+
+$(SHLINK): $(SHLIB)
+ ln -sf $(SHLIB) $(SHLINK)
$(SHLIB): $(SHLIBOBJ)
$(CC) -shared -Wl,-soname=$(SONAME) -o $@ $(SHLIBOBJ)
@@ -36,4 +40,4 @@ lrsbuffer: buffer.c
$(CC) $(CPPFLAGS) $(CFLAGS) -o $@ $< $(LDFLAGS)
clean:
- rm -f $(LIBOBJ) $(SHLIBOBJ) $(LIB) $(SHLIB) $(BINARIES)
\ No newline at end of file
+ rm -f $(LIBOBJ) $(SHLINK) $(SHLIBOBJ) $(LIB) $(SHLIB) $(BINARIES)
--
Debian packaging for the lrslib vertex enumeration package
More information about the debian-science-commits
mailing list