summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2015-09-26 20:40:24 (GMT)
committerChristian Pointner <equinox@spreadspace.org>2015-09-26 20:40:24 (GMT)
commit81531b51fe70fee446d22d3505d04709cd7b5b8a (patch)
tree782e0ebbc4ae0ec451219e8072aa0dbbe701b4e7 /Makefile
parenteb3f9d2ca6675997311307308437c8bddde59a64 (diff)
renamed rhimport to rhautoimport
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 8 insertions, 11 deletions
diff --git a/Makefile b/Makefile
index 7202ab4..d1efa33 100644
--- a/Makefile
+++ b/Makefile
@@ -1,22 +1,22 @@
##
-## rhimport
+## rhautoimport
##
## Copyright (C) 2009-2015 Christian Pointner <equinox@helsinki.at>
##
-## This file is part of rhimport.
+## This file is part of rhautoimport.
##
-## rhimport is free software: you can redistribute it and/or modify
+## rhautoimport is free software: you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation, either version 3 of the License, or
## any later version.
##
-## rhimport is distributed in the hope that it will be useful,
+## rhautoimport is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
-## along with rhimport. If not, see <http://www.gnu.org/licenses/>.
+## along with rhautoimport. If not, see <http://www.gnu.org/licenses/>.
##
ifneq ($(MAKECMDGOALS),distclean)
@@ -25,7 +25,7 @@ endif
.PHONY: clean distclean
-EXECUTABLE := rhimport
+EXECUTABLE := rhautoimport
IMPORTER := btl dn fe fw mz nw oi o94n rs ra sm sv tr ut zf zffe zfw
EXECUTABLES := $(IMPORTER:%=$(EXECUTABLE)-%)
@@ -44,23 +44,20 @@ install: $(INSTALL_TARGETS)
install-bin:
$(INSTALL) -d $(DESTDIR)$(BINDIR)
- $(INSTALL) -m 755 $(EXECUTABLE) $(DESTDIR)$(BINDIR)
- @sed s#/usr/local/share/rhimport/#$(SHAREDIR)/$(EXECUTABLE)/#g -i $(DESTDIR)$(BINDIR)/$(EXECUTABLE)
$(INSTALL) -m 755 $(EXECUTABLES) $(DESTDIR)$(BINDIR)
@for exe in $(EXECUTABLES); do \
- sed s#/usr/local/share/rhimport/#$(SHAREDIR)/$(EXECUTABLE)/#g -i $(DESTDIR)$(BINDIR)/$$exe ; \
+ sed s#/usr/local/share/rhautoimport/#$(SHAREDIR)/$(EXECUTABLE)/#g -i $(DESTDIR)$(BINDIR)/$$exe ; \
done
install-share:
$(INSTALL) -d $(DESTDIR)$(SHAREDIR)/$(EXECUTABLE)
- $(INSTALL) -m 644 rhimport.pm $(DESTDIR)$(SHAREDIR)/$(EXECUTABLE)
+ $(INSTALL) -m 644 rhautoimport.pm $(DESTDIR)$(SHAREDIR)/$(EXECUTABLE)
uninstall: remove
remove: $(REMOVE_TARGETS)
remove-bin:
- rm -f $(DESTDIR)$(BINDIR)/$(EXECUTABLE)
rm -f $(DESTDIR)$(BINDIR)/$(EXECUTABLES)
remove-share: