Install package for objfw-config

This commit is contained in:
Jonathan Schleifer 2019-01-18 00:12:44 +01:00
parent 604854f9af
commit f4de27ae12
No known key found for this signature in database
GPG key ID: 79D21189A2D4708D
5 changed files with 35 additions and 4 deletions

View file

@ -1,3 +1,23 @@
SUBDIRS = src
include buildsys.mk
include extra.mk
install-extra:
i=packages/ObjOpenSSL; \
${INSTALL_STATUS}; \
if ${INSTALL} -m 644 $$i ${DESTDIR}$$(${OBJFW_CONFIG} --packages-dir)/ObjOpenSSL; then \
${INSTALL_OK}; \
else \
${INSTALL_FAILED}; \
fi
uninstall-extra:
i=packages/ObjOpenSSL; \
if test -f ${DESTDIR}$$(${OBJFW_CONFIG} --packages-dir)/ObjOpenSSL; then \
if rm -f ${DESTDIR}$$(${OBJFW_CONFIG} --packages-dir)/ObjOpenSSL; then \
${DELETE_OK}; \
else \
${DELETE_FAILED}; \
fi \
fi