mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-23 13:17:16 +00:00
BUILD: add new target 'make uninstall' to support uninstalling haproxy from OS
This commit is contained in:
parent
2af207a5f5
commit
dfb124fe0d
9
Makefile
9
Makefile
@ -733,6 +733,15 @@ install-bin: haproxy haproxy-systemd-wrapper
|
|||||||
|
|
||||||
install: install-bin install-man install-doc
|
install: install-bin install-man install-doc
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
rm -f "$(DESTDIR)$(MANDIR)"/man1/haproxy.1
|
||||||
|
for x in configuration architecture haproxy-en haproxy-fr; do \
|
||||||
|
rm -f "$(DESTDIR)$(DOCDIR)"/$$x.txt ; \
|
||||||
|
done
|
||||||
|
-rmdir "$(DESTDIR)$(DOCDIR)"
|
||||||
|
rm -f "$(DESTDIR)$(SBINDIR)"/haproxy
|
||||||
|
rm -f "$(DESTDIR)$(SBINDIR)"/haproxy-systemd-wrapper
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *.[oas] src/*.[oas] ebtree/*.[oas] haproxy test
|
rm -f *.[oas] src/*.[oas] ebtree/*.[oas] haproxy test
|
||||||
for dir in . src include/* doc ebtree; do rm -f $$dir/*~ $$dir/*.rej $$dir/core; done
|
for dir in . src include/* doc ebtree; do rm -f $$dir/*~ $$dir/*.rej $$dir/core; done
|
||||||
|
Loading…
Reference in New Issue
Block a user