]> granicus.if.org Git - pdns/commitdiff
make the polarssl makefile 'distdir' itself properly
authorBert Hubert <bert.hubert@netherlabs.nl>
Wed, 21 Apr 2010 12:47:13 +0000 (12:47 +0000)
committerBert Hubert <bert.hubert@netherlabs.nl>
Wed, 21 Apr 2010 12:47:13 +0000 (12:47 +0000)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1574 d19b8d6e-7fed-0310-83ef-9ca221ded41b

pdns/ext/polarssl/Makefile

index 5c7bc7b5a31f32ffc5a55b38c05c7b49a1099586..4411500f7eaad84e4b432f1e6c33a37e2c9b2f0f 100644 (file)
@@ -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
+
+