pqc/include/Makefile
hasufell 4fbb63e67f
DOC: run doxygen separately for internal/external API
Also only install the external API on gh-pages.
2014-06-09 02:11:52 +02:00

30 lines
784 B
Makefile

include ../common.mk
install:
$(INSTALL_DIR) "$(DESTDIR)$(INSTALL_INCLUDEDIR)"
$(INSTALL) ntru.h "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/ntru.h
$(INSTALL) decrypt.h "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/decrypt.h
$(INSTALL) encrypt.h "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/encrypt.h
$(INSTALL) keypair.h "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/keypair.h
$(INSTALL) rnd.h "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/rnd.h
uninstall:
$(RM) "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/ntru.h
$(RM) "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/decrypt.h
$(RM) "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/encrypt.h
$(RM) "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/keypair.h
$(RM) "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/rnd.h
doc:
doxygen
doc-pdf: doc
$(MAKE) -C latex pdf
clean:
rm -rf html/ latex/
.PHONY: clean doc doc-pdf install uninstall