summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile19
1 files changed, 1 insertions, 18 deletions
diff --git a/src/Makefile b/src/Makefile
index 4046ec6..a1e4e9d 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -104,11 +104,6 @@ INSTALL_TARGETS += install-man
REMOVE_TARGETS += remove-man
endif
-ifdef EXAMPLESDIR
-INSTALL_TARGETS += install-examples
-REMOVE_TARGETS += remove-examples
-endif
-
install: all $(INSTALL_TARGETS)
install-bin: $(EXECUTABLE)
@@ -116,16 +111,7 @@ install-bin: $(EXECUTABLE)
$(INSTALL) -m 755 $(EXECUTABLE) $(DESTDIR)$(BINDIR)
install-etc:
- $(INSTALL) -d $(DESTDIR)$(ETCDIR)/init.d/
- $(INSTALL) -m 755 ../contrib/initscript $(DESTDIR)$(ETCDIR)/init.d/$(EXECUTABLE)
- $(INSTALL) -d $(DESTDIR)$(ETCDIR)/default/
- $(INSTALL) -m 644 ../contrib/default $(DESTDIR)$(ETCDIR)/default/$(EXECUTABLE)
- @ echo "# $(EXECUTABLE) configuration file" > $(DESTDIR)$(ETCDIR)/$(EXECUTABLE).conf
- @ echo "# example configurations can be found at $(EXAMPLESDIR)/$(EXECUTABLE)" >> $(DESTDIR)$(ETCDIR)/$(EXECUTABLE).conf
-
-install-examples:
- $(INSTALL) -d $(DESTDIR)$(EXAMPLESDIR)/$(EXECUTABLE)
- $(INSTALL) -m 644 ../contrib/example.conf $(DESTDIR)$(EXAMPLESDIR)/$(EXECUTABLE)/
+ $(INSTALL) -d $(DESTDIR)$(ETCDIR)/rharchive/
install-man: manpage
$(INSTALL) -d $(DESTDIR)$(MANDIR)/man8/
@@ -141,9 +127,6 @@ remove-bin:
remove-etc:
rm -f $(DESTDIR)$(ETCDIR)/init.d/$(EXECUTABLE)
-remove-examples:
- rm -rf $(DESTDIR)$(EXAMPLESDIR)/$(EXECUTABLE)/
-
remove-man:
rm -f $(DESTDIR)$(MANDIR)/man8/$(EXECUTABLE).8