From 3a700442f603f6fccef74f61d33885519c8c35ca Mon Sep 17 00:00:00 2001 From: cameronrich Date: Sun, 23 Jul 2006 12:30:37 +0000 Subject: [PATCH] Don't display false install errors git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@23 9a5d90b5-6617-0410-8a86-bb477d3ed2e3 --- Makefile | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/Makefile b/Makefile index ff4f43f02..8183dc067 100644 --- a/Makefile +++ b/Makefile @@ -24,10 +24,10 @@ else all: target endif -target : $(STAGE) $(TARGET) - include config/makefile.conf +target : $(STAGE) $(TARGET) + # VERSION has to come from the command line RELEASE=axTLS-$(VERSION) @@ -68,16 +68,17 @@ win32_demo: $(MAKE) win32releaseconf install: $(PREFIX) all - install -m 755 $(STAGE)/libax* $(PREFIX)/lib - -install -m 755 $(STAGE)/ax* $(PREFIX)/bin - -install -m 755 $(STAGE)/axtlsp.pm `perl -e 'use Config; print $$Config{installarchlib};'` - -install -m 755 $(STAGE)/awhttpd* $(PREFIX)/bin + cp --no-dereference $(STAGE)/libax* $(PREFIX)/lib + chmod 755 $(PREFIX)/lib/libax* + -@install -m 755 $(STAGE)/ax* $(PREFIX)/bin > /dev/null 2>&1 + -@install -m 755 $(STAGE)/axtlsp.pm `perl -e 'use Config; print $$Config{installarchlib};'` > /dev/null 2>&1 + -@install -m 755 $(STAGE)/awhttpd* $(PREFIX)/bin > /dev/null 2>&1 installclean: - -@rm $(PREFIX)/lib/libax* - -@rm $(PREFIX)/bin/ax* - -@rm $(PREFIX)/bin/awhttpd* - -@rm `perl -e 'use Config; print $$Config{installarchlib};'`/axtlsp.pm + -@rm $(PREFIX)/lib/libax* > /dev/null 2>&1 + -@rm $(PREFIX)/bin/ax* > /dev/null 2>&1 + -@rm $(PREFIX)/bin/awhttpd* > /dev/null 2>&1 + -@rm `perl -e 'use Config; print $$Config{installarchlib};'`/axtlsp.pm > /dev/null 2>&1 test: cd $(STAGE); ssltest; ../ssl/test/test_axssl.sh; cd -;