Install package for objfw-config
This commit is contained in:
parent
604854f9af
commit
f4de27ae12
5 changed files with 35 additions and 4 deletions
20
Makefile
20
Makefile
|
@ -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
|
||||
|
|
Reference in a new issue