aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJason Woodward2004-08-05 07:38:16 +0000
committerJason Woodward2004-08-05 07:38:16 +0000
commit27f696335d03b667fc65322fec32a3a6db07fc7f (patch)
tree8985011f83cf6a0cd466d4d34e573b346a8d4760 /Makefile
parentf18095acc5c0eb18b0044e1ccc23671003111e37 (diff)
downloadslapt-get-27f696335d03b667fc65322fec32a3a6db07fc7f.tar.gz
makefile update, fixing libslapt symlink
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4eb9505..0501265 100644
--- a/Makefile
+++ b/Makefile
@@ -93,7 +93,7 @@ dopkg:
@cat example.slapt-getrc |grep -v '^#'|grep -v '^$$' >> ./pkg/etc/slapt-getrc.new
@mkdir -p ./pkg/usr/doc/$(PROGRAM_NAME)-$(VERSION)/
@cp example.slapt-getrc COPYING Changelog INSTALL README FAQ TODO ./pkg/usr/doc/$(PROGRAM_NAME)-$(VERSION)/
- @echo "if [ ! -f etc/slapt-getrc ]; then mv etc/slapt-getrc.new etc/slapt-getrc; else diff -q etc/slapt-getrc etc/slapt-getrc.new >/dev/null 2>&1 && rm etc/slapt-getrc.new; fi; if [ -L usr/lib/libslapt.so ]; then rm usr/lib/libslapt.so;fi; ln -s usr/lib/libslapt-$(VERSION).so usr/lib/libslapt.so" > pkg/install/doinst.sh
+ @echo "if [ ! -f etc/slapt-getrc ]; then mv etc/slapt-getrc.new etc/slapt-getrc; else diff -q etc/slapt-getrc etc/slapt-getrc.new >/dev/null 2>&1 && rm etc/slapt-getrc.new; fi; if [ -L usr/lib/libslapt.so ]; then rm usr/lib/libslapt.so;fi" > pkg/install/doinst.sh
@cp slack-desc pkg/install/
@cp slack-required pkg/install/
@cp $(PROGRAM_NAME).8 pkg/usr/man/man8/
@@ -103,6 +103,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; /sbin/makepkg -l y -c y $(PROGRAM_NAME)-$(VERSION)-$(ARCH)-$(RELEASE).tgz )
po_file: