From 13bf259e011c996e88da21d9be6615f99ffafb6c Mon Sep 17 00:00:00 2001 From: Bert Hubert Date: Wed, 21 Apr 2010 12:47:13 +0000 Subject: [PATCH] make the polarssl makefile 'distdir' itself properly git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1574 d19b8d6e-7fed-0310-83ef-9ca221ded41b --- pdns/ext/polarssl/Makefile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/pdns/ext/polarssl/Makefile b/pdns/ext/polarssl/Makefile index 5c7bc7b5a..4411500f7 100644 --- a/pdns/ext/polarssl/Makefile +++ b/pdns/ext/polarssl/Makefile @@ -6,8 +6,6 @@ PREFIX=polarssl_ all: cd library && make all && cd .. - cd programs && make all && cd .. - cd tests && make all && cd .. install: mkdir -p $(DESTDIR)/include/polarssl @@ -27,8 +25,16 @@ install: clean: cd library && make clean && cd .. - cd programs && make clean && cd .. - cd tests && make clean && cd .. check: ( cd tests && make check ) + +distdir: + mkdir -p $(distdir) + cp ChangeLog LICENSE Makefile README $(distdir) + mkdir $(distdir)/library + mkdir -p $(distdir)/include/polarssl + cp library/Makefile library/*.c $(distdir)/library + cp include/polarssl/*.h $(distdir)/include/polarssl + + -- 2.50.1