parent
fb21cad83c
commit
8a2b96bffa
4 changed files with 21 additions and 2 deletions
@ -0,0 +1,17 @@ |
|||||||
|
MAINTAINERCLEANFILES = Makefile.in
|
||||||
|
|
||||||
|
compressedapi = striker-ui-api.tar.xz
|
||||||
|
extractedapi = striker-ui-api
|
||||||
|
|
||||||
|
EXTRA_DIST = $(compressedapi)
|
||||||
|
|
||||||
|
# Blank target; the compressed API executable should be usable as-is.
|
||||||
|
$(compressedapi): ; |
||||||
|
|
||||||
|
install-data-hook: |
||||||
|
-@echo "Extract the API executable."
|
||||||
|
tar -xvf $(srcdir)/$(compressedapi) -C $(DESTDIR)/$(sbindir)
|
||||||
|
|
||||||
|
uninstall-hook: |
||||||
|
-@echo "Remove the API executable."
|
||||||
|
rm -f $(DESTDIR)/$(sbindir)/$(extractedapi)
|
Loading…
Reference in new issue