summaryrefslogtreecommitdiff
path: root/src/xbs-abs/Makefile
blob: 75825924a85d93e59ede60b6e2019edc48459753 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
pkgconfdir = $(sysconfdir)/xbs
bindir = $(libexecdir)/xbs
pkglibexecdir = $(libexecdir)/xbs/helper-abs.d
copy_files = archrelease.in
libs = archrelease
include ../../common.mk

archrelease: %: %.in
	@echo "GEN $@"
	@$(edit) <"$<" >"$@" || { rm -f -- '$@'; false; }
	@sed -i '/valid-tags\.sh/d' '$@' || { rm -f -- '$@'; false; }
	@chmod 755 "$@" || { rm -f -- '$@'; false; }