summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-01-22 16:14:51 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-01-22 16:14:51 -0500
commit93593892a2f23c1ae6e5ab93b3a535195b14b374 (patch)
tree9a30403f4929b0ec588c71ea0a05ef93e3278770
parentfbe5ed0751a4fab5e40551b2f39323882010dbad (diff)
derp
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 5f50812..a740bd1 100644
--- a/Makefile
+++ b/Makefile
@@ -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 $< $@