You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
482 B
17 lines
482 B
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)
|
|
|