Fixed DESTDIR make install/uninstall and break immediately on errors
This commit is contained in:
parent
496754f5c5
commit
96a7ec86f0
16 changed files with 115 additions and 39 deletions
|
|
@ -107,9 +107,9 @@ install-lib: $(MYLIB)
|
|||
install -d $(DESTDIR)$(libdir)/clixon/plugins/backend
|
||||
|
||||
uninstall:
|
||||
rm -f $(sbindir)/$(APPL)
|
||||
rm -f $(libdir)/$(MYLIB)
|
||||
rm -f $(includedir)/clixon/*
|
||||
rm -f $(DESTDIR)$(sbindir)/$(APPL)
|
||||
rm -f $(DESTDIR)$(libdir)/$(MYLIBLINK)*
|
||||
rm -f $(DESTDIR)$(includedir)/clixon/*
|
||||
|
||||
install-include: clixon_backend.h clixon_backend_handle.h clixon_backend_transaction.h
|
||||
install -d $(DESTDIR)$(includedir)/clixon
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue