From: Bert Hubert Date: Wed, 21 Apr 2010 12:47:13 +0000 (+0000) Subject: make the polarssl makefile 'distdir' itself properly X-Git-Tag: rec-3.3~128 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=13bf259e011c996e88da21d9be6615f99ffafb6c;p=pdns make the polarssl makefile 'distdir' itself properly git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1574 d19b8d6e-7fed-0310-83ef-9ca221ded41b --- 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 + +