From de30654ac0ce3f156600835282122d38db9ad197 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Wed, 1 May 2019 21:24:41 -0400 Subject: [PATCH] share files moved and looped --- Makefile | 6 +++--- domains.csv => share/domains.csv | 0 mailcap => share/mailcap | 0 mutt-wizard.muttrc => share/mutt-wizard.muttrc | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename domains.csv => share/domains.csv (100%) rename mailcap => share/mailcap (100%) rename mutt-wizard.muttrc => share/mutt-wizard.muttrc (100%) diff --git a/Makefile b/Makefile index 7595861..e4a1440 100644 --- a/Makefile +++ b/Makefile @@ -10,9 +10,9 @@ install: chmod 755 $(DESTDIR)$(PREFIX)/$$script; \ done mkdir -p $(DESTDIR)$(PREFIX)/share/mutt-wizard - cp -f mailcap $(DESTDIR)$(PREFIX)/share/mutt-wizard - cp -f mutt-wizard.muttrc $(DESTDIR)$(PREFIX)/share/mutt-wizard - cp -f domains.csv $(DESTDIR)$(PREFIX)/share/mutt-wizard + for shared in share/*; do \ + cp -f $$shared $(DESTDIR)$(PREFIX)/share/mutt-wizard; \ + done mkdir -p $(DESTDIR)$(MANPREFIX)/man1 cp -f mw.1 $(DESTDIR)$(MANPREFIX)/man1/mw.1 diff --git a/domains.csv b/share/domains.csv similarity index 100% rename from domains.csv rename to share/domains.csv diff --git a/mailcap b/share/mailcap similarity index 100% rename from mailcap rename to share/mailcap diff --git a/mutt-wizard.muttrc b/share/mutt-wizard.muttrc similarity index 100% rename from mutt-wizard.muttrc rename to share/mutt-wizard.muttrc