[arch-projects] [devtools] [PATCH 1/3] sogrep: don't be templated when it is not templated
Eli Schwartz
eschwartz at archlinux.org
Mon Mar 25 20:32:18 UTC 2019
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 at archlinux.org>
---
.gitignore | 1 -
Makefile | 9 ++++++---
sogrep.in => sogrep | 0
3 files changed, 6 insertions(+), 4 deletions(-)
rename sogrep.in => sogrep (100%)
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
similarity index 100%
rename from sogrep.in
rename to sogrep
--
2.21.0
More information about the arch-projects
mailing list