summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz via arch-projects <arch-projects@archlinux.org>2019-03-25 16:32:18 -0400
committerLevente Polyak <anthraxx@archlinux.org>2019-03-28 21:17:50 +0100
commitebba5a588534bce575c877694790af87a812aa6c (patch)
treeb819fc9f00b52bf767ae72cd0d96f968709b8566
parentc9b6f58f8e511b62085fa7e592aa5ecbe2a38074 (diff)
downloaddevtools32-ebba5a588534bce575c877694790af87a812aa6c.tar.xz
sogrep: don't be templated when it is not templated
Partition the Makefile targets to only clean configured files, and make the configured files be a subset of the bin programs. Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
-rw-r--r--.gitignore1
-rw-r--r--Makefile9
-rw-r--r--sogrep (renamed from sogrep.in)0
3 files changed, 6 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore
index 6a1d1e4..b63587b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -15,5 +15,4 @@ zsh_completion
find-libdeps
crossrepomove
arch-nspawn
-sogrep
doc/*.1
diff --git a/Makefile b/Makefile
index 055ed2d..39785c3 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@ V=20180531
PREFIX = /usr/local
MANDIR = $(PREFIX)/share/man
-BINPROGS = \
+IN_PROGS = \
checkpkg \
commitpkg \
archco \
@@ -16,7 +16,10 @@ BINPROGS = \
crossrepomove\
arch-nspawn \
mkarchroot \
- makechrootpkg \
+ makechrootpkg
+
+BINPROGS = \
+ $(IN_PROGS) \
sogrep
CONFIGFILES = \
@@ -90,7 +93,7 @@ doc/%: doc/%.asciidoc
a2x --no-xmllint --asciidoc-opts="-f doc/asciidoc.conf" -d manpage -f manpage -D doc $<
clean:
- rm -f $(BINPROGS) bash_completion zsh_completion $(MANS)
+ rm -f $(IN_PROGS) bash_completion zsh_completion $(MANS)
install:
install -dm0755 $(DESTDIR)$(PREFIX)/bin
diff --git a/sogrep.in b/sogrep
index 3be2672..3be2672 100644
--- a/sogrep.in
+++ b/sogrep