aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJason Woodward2005-02-05 05:13:08 +0000
committerJason Woodward2005-02-05 05:13:08 +0000
commitf86d2fd3e6ea29745a235c2270195a6fad03352d (patch)
treed4164dd4c622a34bb8bba562583b96e0401e1b19 /Makefile
parent402c9cd07623d788ee0a79e2fcea5aed00108b95 (diff)
downloadslapt-get-f86d2fd3e6ea29745a235c2270195a6fad03352d.tar.gz
Makefile updates to symlink libslapt-$(VERSION).a to libslapt.a
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c495841..cd68c9c 100644
--- a/Makefile
+++ b/Makefile
@@ -53,6 +53,8 @@ doinstall:
cp src/libslapt-$(VERSION).a src/libslapt-$(VERSION).so /usr/lib/
if [ -L /usr/lib/libslapt.so ]; then rm /usr/lib/libslapt.so;fi
ln -s /usr/lib/libslapt-$(VERSION).so /usr/lib/libslapt.so
+ if [ -L /usr/lib/libslapt.a ]; then rm /usr/lib/libslapt.a;fi
+ ln -s /usr/lib/libslapt-$(VERSION).a /usr/lib/libslapt.a
uninstall:
-rm /$(SBINDIR)/$(PROGRAM_NAME)
@@ -107,7 +109,7 @@ dopkg:
@cp include/slapt.h pkg/usr/include/
@cp src/libslapt-$(VERSION).a src/libslapt-$(VERSION).so pkg/usr/lib/
@strip pkg/usr/lib/libslapt-$(VERSION).so
- @cd pkg/usr/lib; ln -s libslapt-$(VERSION).so libslapt.so; cd ../../..
+ @( cd pkg/usr/lib; ln -s libslapt-$(VERSION).so libslapt.so; ln -s libslapt-$(VERSION).a libslapt.a )
@( cd pkg; /sbin/makepkg -l y -c n $(PROGRAM_NAME)-$(VERSION)-$(ARCH)-$(RELEASE).tgz )
po_file: