Makefile: add check target for syntax check
This commit is contained in:
parent
c6af176666
commit
d0fbf5548d
7
Makefile
7
Makefile
@ -21,13 +21,16 @@ edit = $(V_GEN) m4 -P $@.in >$@ && chmod go-w,+x $@
|
|||||||
clean:
|
clean:
|
||||||
$(RM) $(BINPROGS)
|
$(RM) $(BINPROGS)
|
||||||
|
|
||||||
|
check: all
|
||||||
|
for f in $(BINPROGS); do bash -O extglob -n $$f; done
|
||||||
|
|
||||||
install: all
|
install: all
|
||||||
install -dm755 $(DESTDIR)$(PREFIX)/bin
|
install -dm755 $(DESTDIR)$(PREFIX)/bin
|
||||||
install -m755 ${BINPROGS} $(DESTDIR)$(PREFIX)/bin
|
install -m755 $(BINPROGS) $(DESTDIR)$(PREFIX)/bin
|
||||||
install -Dm644 zsh-completion $(DESTDIR)$(PREFIX)/share/zsh/site-functions/_archinstallscripts
|
install -Dm644 zsh-completion $(DESTDIR)$(PREFIX)/share/zsh/site-functions/_archinstallscripts
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
for f in ${BINPROGS}; do $(RM) $(DESTDIR)$(PREFIX)/bin/$$f; done
|
for f in $(BINPROGS); do $(RM) $(DESTDIR)$(PREFIX)/bin/$$f; done
|
||||||
$(RM) $(DESTDIR)$(PREFIX)/share/zsh/site-functions/_archinstallscripts
|
$(RM) $(DESTDIR)$(PREFIX)/share/zsh/site-functions/_archinstallscripts
|
||||||
|
|
||||||
dist:
|
dist:
|
||||||
|
Loading…
Reference in New Issue
Block a user