summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2011-04-19 14:37:42 (GMT)
committerChristian Pointner <equinox@helsinki.at>2011-04-19 14:37:42 (GMT)
commit6acaf4d7f6969002ab30f049ea7af4afc84ab8d9 (patch)
treeb3e5cd630bd0a88d659b12a66e2f6be8aa2f7073 /src/Makefile
parent9a74b857f449d9a2ac8cca76872a0ad69aec40f4 (diff)
inital debian packages
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