diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-01-22 16:14:51 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-01-22 16:14:51 -0500 |
commit | 93593892a2f23c1ae6e5ab93b3a535195b14b374 (patch) | |
tree | 9a30403f4929b0ec588c71ea0a05ef93e3278770 /Makefile | |
parent | fbe5ed0751a4fab5e40551b2f39323882010dbad (diff) |
derp
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 $< $@ |