Merge pull request #142 from Kr1ss-XD/master
Makefile: make all install paths configurable
This commit is contained in:
commit
56627dcc2d
10
Makefile
10
Makefile
@ -13,10 +13,10 @@ install:
|
|||||||
chmod 755 $(DESTDIR)$(PREFIX)/bin/muttimage
|
chmod 755 $(DESTDIR)$(PREFIX)/bin/muttimage
|
||||||
cp -f bin/mailsync $(DESTDIR)$(PREFIX)/bin
|
cp -f bin/mailsync $(DESTDIR)$(PREFIX)/bin
|
||||||
chmod 755 $(DESTDIR)$(PREFIX)/bin/mailsync
|
chmod 755 $(DESTDIR)$(PREFIX)/bin/mailsync
|
||||||
mkdir -p /usr/share/mutt-wizard
|
mkdir -p $(DESTDIR)$(PREFIX)/share/mutt-wizard
|
||||||
cp -f mailcap /usr/share/mutt-wizard
|
cp -f mailcap $(DESTDIR)$(PREFIX)/share/mutt-wizard
|
||||||
cp -f mutt-wizard.muttrc /usr/share/mutt-wizard
|
cp -f mutt-wizard.muttrc $(DESTDIR)$(PREFIX)/share/mutt-wizard
|
||||||
cp -f domains.csv /usr/share/mutt-wizard
|
cp -f domains.csv $(DESTDIR)$(PREFIX)/share/mutt-wizard
|
||||||
cp -f mw.1 $(DESTDIR)$(MANPREFIX)/man1/mw.1
|
cp -f mw.1 $(DESTDIR)$(MANPREFIX)/man1/mw.1
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
@ -24,6 +24,6 @@ uninstall:
|
|||||||
rm -f $(DESTDIR)$(PREFIX)/bin/mailsync
|
rm -f $(DESTDIR)$(PREFIX)/bin/mailsync
|
||||||
rm -f $(DESTDIR)$(PREFIX)/bin/openfile
|
rm -f $(DESTDIR)$(PREFIX)/bin/openfile
|
||||||
rm -f $(DESTDIR)$(PREFIX)/bin/muttimage
|
rm -f $(DESTDIR)$(PREFIX)/bin/muttimage
|
||||||
rm -rf /usr/share/mutt-wizard
|
rm -rf $(DESTDIR)$(PREFIX)/share/mutt-wizard
|
||||||
|
|
||||||
.PHONY: install uninstall
|
.PHONY: install uninstall
|
||||||
|
Loading…
Reference in New Issue
Block a user