diff options
author | Christian Pointner <equinox@helsinki.at> | 2011-04-28 14:03:26 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2011-04-28 14:03:26 (GMT) |
commit | cb96c4290a1354577c50c87e864ad4b8fde73036 (patch) | |
tree | 81392f1fb6b250c643435ed89eabb1974ec9b873 /src/Makefile | |
parent | 20ae6e2cc2bf30432333c036a0efd551f125caf4 (diff) |
removed init script
removed etc dir
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/src/Makefile b/src/Makefile index 0e989ac..a2f101a 100644 --- a/src/Makefile +++ b/src/Makefile @@ -40,7 +40,7 @@ C_OBJS := log.o \ C_SRCS := $(C_OBJS:%.o=%.c) -.PHONY: clean cleanall distclean manpage install install-bin install-etc install-man uninstall remove purge +.PHONY: clean cleanall distclean manpage install install-bin install-man uninstall remove all: $(EXECUTABLE) @@ -94,8 +94,8 @@ manpage: $(MAKE) --directory="../doc/" manpage -INSTALL_TARGETS := install-bin install-etc -REMOVE_TARGETS := remove-bin remove-etc +INSTALL_TARGETS := install-bin +REMOVE_TARGETS := remove-bin ifdef MANDIR INSTALL_TARGETS += install-man @@ -108,9 +108,6 @@ install-bin: $(EXECUTABLE) $(INSTALL) -d $(DESTDIR)$(BINDIR) $(INSTALL) -m 755 $(EXECUTABLE) $(DESTDIR)$(BINDIR) -install-etc: - $(INSTALL) -d $(DESTDIR)$(ETCDIR)/$(EXECUTABLE)/ - install-man: manpage $(INSTALL) -d $(DESTDIR)$(MANDIR)/man8/ $(INSTALL) -m 644 ../doc/$(EXECUTABLE).8 $(DESTDIR)$(MANDIR)/man8/$(EXECUTABLE).8 @@ -122,11 +119,5 @@ remove: $(REMOVE_TARGETS) remove-bin: rm -f $(DESTDIR)$(BINDIR)/$(EXECUTABLE) -remove-etc: - rm -f $(DESTDIR)$(ETCDIR)/init.d/$(EXECUTABLE) - remove-man: rm -f $(DESTDIR)$(MANDIR)/man8/$(EXECUTABLE).8 - -purge: remove - rm -rf $(DESTDIR)$(ETCDIR)/$(EXECUTABLE) |