unix/fiss

Makefile in master
Repositories | Summary | Log | Files | LICENSE

Makefile (731B) download


 1TOPDIR = .
 2-include $(TOPDIR)/config.mk
 3
 4SUBDIRS += src docs lib
 5
 6include $(TOPDIR)/mk/subdir.mk
 7
 8install: install-static
 9
10install-pages: install-assets
11
12install-static:
13	$(SILENT)install -d $(EPREFIX)/fiss 
14	$(SILENT)for file in resume start stop suspend; do \
15		echo "[INST] $(EPREFIX)/fiss/$$file"; \
16		install -m 755 etc/$$file $(EPREFIX)/fiss; \
17	done
18
19install-assets:
20	$(SILENT)install -d $(PREFIX)/share/doc/fiss;
21	$(SILENT)for file in github-mark-white.svg github-mark.svg style.css; do \
22	    echo "[INST] $(PREFIX)/share/doc/fiss/$$file"; \
23	    install -m 755 assets/$$file $(PREFIX)/share/doc/fiss/; \
24	done
25
26uninstall: uninstall-static
27
28uninstall-static:
29	@echo "[RM] $(EPREFIX)/fiss"
30	$(SILENT)rm -vfr $(EPREFIX)/fiss