fiss

Friedel's Initialization and Service Supervision
Log | Files | Refs | LICENSE

Makefile (731B)


      1 TOPDIR = .
      2 -include $(TOPDIR)/config.mk
      3 
      4 SUBDIRS += src docs lib
      5 
      6 include $(TOPDIR)/mk/subdir.mk
      7 
      8 install: install-static
      9 
     10 install-pages: install-assets
     11 
     12 install-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 
     19 install-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 
     26 uninstall: uninstall-static
     27 
     28 uninstall-static:
     29 	@echo "[RM] $(EPREFIX)/fiss"
     30 	$(SILENT)rm -vfr $(EPREFIX)/fiss