From 249935d59b85c83146e4a61121e7b70b0210f4ee Mon Sep 17 00:00:00 2001 From: Todd A Ouska Date: Mon, 28 Mar 2011 15:02:23 -0700 Subject: [PATCH] remove non external headers from install --- Makefile.am | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index 0fe9e846e..2f9d858d7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -18,9 +18,13 @@ openssl-links: # !!! test -e with a .name like .libs then a * like *dylib fails so just # look for the .dylib on OS X, and .so otherwise but copy all parts install: - $(mkinstalldirs) $(DESTDIR)$(includedir) $(DESTDIR)$(libdir); \ - cp -fpR include/* $(DESTDIR)$(includedir); \ - cp -fpR ctaocrypt/include/* $(DESTDIR)$(includedir); \ + $(mkinstalldirs) $(DESTDIR)$(includedir)/openssl $(DESTDIR)$(libdir); \ + cp -fpR include/openssl/* $(DESTDIR)$(includedir)/openssl; \ + cp -fpR ctaocrypt/include/*.h $(DESTDIR)$(includedir); \ + rm $(DESTDIR)$(includedir)/asn.h; \ + rm $(DESTDIR)$(includedir)/coding.h; \ + rm $(DESTDIR)$(includedir)/error.h; \ + rm $(DESTDIR)$(includedir)/misc.h; \ cp -fpR src/libcyassl.la $(DESTDIR)$(libdir); \ if test -e src/.libs/libcyassl.a; then \ cp -fp src/.libs/libcyassl.a $(DESTDIR)$(libdir); fi; \