summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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: