diff options
author | Christian Pointner <equinox@spreadspace.org> | 2015-10-10 21:14:28 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2015-10-10 21:14:28 +0200 |
commit | df4b1804ce4824c6522690809807e7a7016611a7 (patch) | |
tree | 777c117b754dd383e6690e7216480dd41022b6f6 /apps/Makefile | |
parent | add output flushing (diff) |
reading config dir works now
Diffstat (limited to 'apps/Makefile')
-rw-r--r-- | apps/Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/apps/Makefile b/apps/Makefile index c19eaa9..cce8207 100644 --- a/apps/Makefile +++ b/apps/Makefile @@ -33,7 +33,7 @@ C_OBJS := osc.o \ C_SRCS := $(C_OBJS:%.o=%.c) -.PHONY: clean distclean install install-bin uninstall remove +.PHONY: clean distclean install install-bin install-etc uninstall remove remove-bin remove-etc purge all: $(EXECUTABLE) @@ -69,8 +69,8 @@ clean: rm -f *.d.* rm -f $(EXECUTABLE) -INSTALL_TARGETS := install-bin -REMOVE_TARGETS := remove-bin +INSTALL_TARGETS := install-bin install-etc +REMOVE_TARGETS := remove-bin remove-etc install: all $(INSTALL_TARGETS) @@ -78,9 +78,16 @@ install-bin: $(EXECUTABLE) $(INSTALL) -d $(DESTDIR)$(BINDIR) $(INSTALL) -m 755 $(EXECUTABLE) $(DESTDIR)$(BINDIR) +install-etc: + uninstall: remove remove: $(REMOVE_TARGETS) remove-bin: rm -f $(DESTDIR)$(BINDIR)/$(EXECUTABLE) + +remove-etc: + +purge: remove + rm -rf $(DESTDIR)$(ETCDIR)/$(EXECUTABLE)/
\ No newline at end of file |