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>
This commit is contained in:
Eli Schwartz via arch-projects 2019-03-25 16:32:18 -04:00 committed by Levente Polyak
parent c9b6f58f8e
commit ebba5a5885
No known key found for this signature in database
GPG Key ID: FC1B547C8D8172C8
3 changed files with 6 additions and 4 deletions

1
.gitignore vendored
View File

@ -15,5 +15,4 @@ zsh_completion
find-libdeps
crossrepomove
arch-nspawn
sogrep
doc/*.1

View File

@ -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

View File