CONTRIB: move halog to admin/

halog is an admin tool, so let's move it to admin/ as well. The makefile
was updated to build from the new directory.
This commit is contained in:
Willy Tarreau 2021-04-02 14:45:06 +02:00
parent 233e868895
commit d798889a5d
6 changed files with 11 additions and 10 deletions

View File

@ -10,9 +10,9 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Compile contrib/halog/halog
- name: Compile admin/halog/halog
run: |
make contrib/halog/halog
make admin/halog/halog
- name: Compile dev/flags/flags
run: |
make dev/flags/flags

9
.gitignore vendored
View File

@ -20,6 +20,7 @@
!/VERDATE
!/VERSION
!/contrib
!/admin
!/dev
!/doc
!/ebtree
@ -38,10 +39,10 @@
*.orig
*.bak
# And reject some specific files
/contrib/halog/halog
/contrib/ip6range/ip6range
/contrib/iprange/iprange
/contrib/systemd/haproxy.service
/admin/halog/halog
/admin/iprange/ip6range
/admin/iprange/iprange
/admin/systemd/haproxy.service
/contrib/spoa_example/spoa
dev/base64/base64rev-gen
dev/flags/flags

View File

@ -926,8 +926,8 @@ objsize: haproxy
%.o: %.c $(DEP)
$(cmd_CC) $(COPTS) -c -o $@ $<
contrib/halog/halog:
$(Q)$(MAKE) -C contrib/halog halog CC='$(cmd_CC)' OPTIMIZE='$(COPTS)'
admin/halog/halog:
$(Q)$(MAKE) -C admin/halog halog CC='$(cmd_CC)' OPTIMIZE='$(COPTS)'
dev/flags/flags: dev/flags/flags.o
$(cmd_LD) $(LDFLAGS) -o $@ $^ $(LDOPTS)
@ -998,8 +998,8 @@ clean:
$(Q)rm -f haproxy-$(VERSION).tar.gz haproxy-$(VERSION)$(SUBVERS)$(EXTRAVERSION).tar.gz
$(Q)rm -f haproxy-$(VERSION) haproxy-$(VERSION)$(SUBVERS)$(EXTRAVERSION) nohup.out gmon.out
$(Q)rm -f {admin,dev,contrib}/*/*.[oas] {admin,dev,contrib}/*/*/*.[oas] {admin,dev,contrib}/*/*/*/*.[oas]
$(Q)rm -f admin/iprange/iprange admin/iprange/ip6range
$(Q)rm -f contrib/halog/halog dev/flags/flags dev/poll/poll dev/tcploop/tcploop
$(Q)rm -f admin/iprange/iprange admin/iprange/ip6range admin/halog/halog
$(Q)rm -f dev/flags/flags dev/poll/poll dev/tcploop/tcploop
$(Q)rm -f dev/hpack/decode dev/hpack/gen-enc dev/hpack/gen-rht
tags: