Revert "mk: only install if files changed"
This reverts commit 22ad9e199a
.
This breaks install on macOS:
install -m755 -D aerc /usr/local/bin/aerc
install: illegal option -- D
Signed-off-by: Robin Jarry <robin@jarry.cc>
This commit is contained in:
parent
0709115916
commit
34d36bad0d
1 changed files with 25 additions and 49 deletions
74
Makefile
74
Makefile
|
@ -78,55 +78,31 @@ RM?=rm -f
|
||||||
clean:
|
clean:
|
||||||
$(RM) $(DOCS) aerc.conf aerc
|
$(RM) $(DOCS) aerc.conf aerc
|
||||||
|
|
||||||
$(DESTDIR)$(BINDIR)/aerc: aerc
|
install: all
|
||||||
install -m755 -D $< $@
|
mkdir -m755 -p $(DESTDIR)$(BINDIR) $(DESTDIR)$(MANDIR)/man1 $(DESTDIR)$(MANDIR)/man5 $(DESTDIR)$(MANDIR)/man7 \
|
||||||
|
$(DESTDIR)$(SHAREDIR) $(DESTDIR)$(SHAREDIR)/filters $(DESTDIR)$(SHAREDIR)/templates $(DESTDIR)$(SHAREDIR)/stylesets
|
||||||
$(DESTDIR)$(MANDIR)/man1/%: %
|
install -m755 aerc $(DESTDIR)$(BINDIR)/aerc
|
||||||
install -m644 -D $< $@
|
install -m644 aerc.1 $(DESTDIR)$(MANDIR)/man1/aerc.1
|
||||||
|
install -m644 aerc-search.1 $(DESTDIR)$(MANDIR)/man1/aerc-search.1
|
||||||
$(DESTDIR)$(MANDIR)/man5/%: %
|
install -m644 aerc-config.5 $(DESTDIR)$(MANDIR)/man5/aerc-config.5
|
||||||
install -m644 -D $< $@
|
install -m644 aerc-imap.5 $(DESTDIR)$(MANDIR)/man5/aerc-imap.5
|
||||||
|
install -m644 aerc-maildir.5 $(DESTDIR)$(MANDIR)/man5/aerc-maildir.5
|
||||||
$(DESTDIR)$(MANDIR)/man7/%: %
|
install -m644 aerc-sendmail.5 $(DESTDIR)$(MANDIR)/man5/aerc-sendmail.5
|
||||||
install -m644 -D $< $@
|
install -m644 aerc-notmuch.5 $(DESTDIR)$(MANDIR)/man5/aerc-notmuch.5
|
||||||
|
install -m644 aerc-smtp.5 $(DESTDIR)$(MANDIR)/man5/aerc-smtp.5
|
||||||
$(DESTDIR)$(SHAREDIR)/aerc.conf: aerc.conf
|
install -m644 aerc-tutorial.7 $(DESTDIR)$(MANDIR)/man7/aerc-tutorial.7
|
||||||
install -m644 -D $< $@
|
install -m644 aerc-templates.7 $(DESTDIR)$(MANDIR)/man7/aerc-templates.7
|
||||||
|
install -m644 aerc-stylesets.7 $(DESTDIR)$(MANDIR)/man7/aerc-stylesets.7
|
||||||
$(DESTDIR)$(SHAREDIR)/%.conf: config/%.conf
|
install -m644 config/accounts.conf $(DESTDIR)$(SHAREDIR)/accounts.conf
|
||||||
install -m644 -D $< $@
|
install -m644 aerc.conf $(DESTDIR)$(SHAREDIR)/aerc.conf
|
||||||
|
install -m644 config/binds.conf $(DESTDIR)$(SHAREDIR)/binds.conf
|
||||||
$(DESTDIR)$(SHAREDIR)/filters/%: filters/%
|
install -m755 filters/hldiff $(DESTDIR)$(SHAREDIR)/filters/hldiff
|
||||||
install -m755 -D $< $@
|
install -m755 filters/html $(DESTDIR)$(SHAREDIR)/filters/html
|
||||||
|
install -m755 filters/plaintext $(DESTDIR)$(SHAREDIR)/filters/plaintext
|
||||||
$(DESTDIR)$(SHAREDIR)/templates/%: templates/%
|
install -m644 templates/new_message $(DESTDIR)$(SHAREDIR)/templates/new_message
|
||||||
install -m644 -D $< $@
|
install -m644 templates/quoted_reply $(DESTDIR)$(SHAREDIR)/templates/quoted_reply
|
||||||
|
install -m644 templates/forward_as_body $(DESTDIR)$(SHAREDIR)/templates/forward_as_body
|
||||||
$(DESTDIR)$(SHAREDIR)/stylesets/default: config/default_styleset
|
install -m644 config/default_styleset $(DESTDIR)$(SHAREDIR)/stylesets/default
|
||||||
install -m644 -D $< $@
|
|
||||||
|
|
||||||
install: $(DESTDIR)$(BINDIR)/aerc
|
|
||||||
install: $(DESTDIR)$(MANDIR)/man1/aerc.1
|
|
||||||
install: $(DESTDIR)$(MANDIR)/man1/aerc-search.1
|
|
||||||
install: $(DESTDIR)$(MANDIR)/man5/aerc-config.5
|
|
||||||
install: $(DESTDIR)$(MANDIR)/man5/aerc-imap.5
|
|
||||||
install: $(DESTDIR)$(MANDIR)/man5/aerc-maildir.5
|
|
||||||
install: $(DESTDIR)$(MANDIR)/man5/aerc-sendmail.5
|
|
||||||
install: $(DESTDIR)$(MANDIR)/man5/aerc-notmuch.5
|
|
||||||
install: $(DESTDIR)$(MANDIR)/man5/aerc-smtp.5
|
|
||||||
install: $(DESTDIR)$(MANDIR)/man7/aerc-tutorial.7
|
|
||||||
install: $(DESTDIR)$(MANDIR)/man7/aerc-templates.7
|
|
||||||
install: $(DESTDIR)$(MANDIR)/man7/aerc-stylesets.7
|
|
||||||
install: $(DESTDIR)$(SHAREDIR)/accounts.conf
|
|
||||||
install: $(DESTDIR)$(SHAREDIR)/aerc.conf
|
|
||||||
install: $(DESTDIR)$(SHAREDIR)/binds.conf
|
|
||||||
install: $(DESTDIR)$(SHAREDIR)/filters/hldiff
|
|
||||||
install: $(DESTDIR)$(SHAREDIR)/filters/html
|
|
||||||
install: $(DESTDIR)$(SHAREDIR)/filters/plaintext
|
|
||||||
install: $(DESTDIR)$(SHAREDIR)/templates/new_message
|
|
||||||
install: $(DESTDIR)$(SHAREDIR)/templates/quoted_reply
|
|
||||||
install: $(DESTDIR)$(SHAREDIR)/templates/forward_as_body
|
|
||||||
install: $(DESTDIR)$(SHAREDIR)/stylesets/default
|
|
||||||
|
|
||||||
RMDIR_IF_EMPTY:=sh -c '\
|
RMDIR_IF_EMPTY:=sh -c '\
|
||||||
if test -d $$0 && ! ls -1qA $$0 | grep -q . ; then \
|
if test -d $$0 && ! ls -1qA $$0 | grep -q . ; then \
|
||||||
|
|
Loading…
Reference in a new issue