diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,4 +1,3 @@ -#!/usr/bin/env bash # Copyright 2016 Luke Shumaker # License: WTFPLv2 @@ -24,11 +23,15 @@ uninstall: rmdir -p -- $(dir $(install_targets)) .PHONY: all install clean uninstall +httpconnectd@.service: .var.bindir + +######################################################################## + %: %.sh install -m755 $< $@ %: %.in - $(if $(Q),$(Q)echo 'EDIT < $< > $@';)$(if $(vars),sed $(foreach v,$(vars), -e 's|$(v)|$($(v))|g' ),cat) < $< > $@ + $(if $(Q),$(Q)echo 'EDIT < $< > $@';)$(if $(vars),sed $(foreach v,$(vars), -e 's|@$(v)@|$($(v))|g' ),cat) < $< > $@ $(DESTDIR)$(bindir)/%: % install -Dm755 $< $@ |