mtsc/mtsc-common/Makefile

14 lines
296 B
Makefile
Raw Normal View History

2024-08-11 14:45:54 +00:00
PREFIX = /usr
2024-08-18 18:49:31 +00:00
# set by mtsc Makefile
VERSION = 0
2024-08-11 14:45:54 +00:00
install:
2024-08-18 18:49:31 +00:00
install -Dm755 "common.sh" $(DESTDIR)/$(PREFIX)/lib/mtsc-common.sh
sed 's/MTSC_VERSION_HOLDER/$(VERSION)/g' -i $(DESTDIR)/$(PREFIX)/lib/mtsc-common.sh
2024-08-11 14:45:54 +00:00
uninstall:
rm $(DESTDIR)/$(PREFIX)/lib/mtsc-common.sh
.PHONY: install uninstall